|
From: <sm...@us...> - 2009-09-11 07:27:37
|
Revision: 10397
http://plplot.svn.sourceforge.net/plplot/?rev=10397&view=rev
Author: smekal
Date: 2009-09-11 07:27:30 +0000 (Fri, 11 Sep 2009)
Log Message:
-----------
I obviously missed some basic math classes back in highschool.
Modified Paths:
--------------
trunk/drivers/wxwidgets_dc.cpp
Modified: trunk/drivers/wxwidgets_dc.cpp
===================================================================
--- trunk/drivers/wxwidgets_dc.cpp 2009-09-11 04:32:14 UTC (rev 10396)
+++ trunk/drivers/wxwidgets_dc.cpp 2009-09-11 07:27:30 UTC (rev 10397)
@@ -391,8 +391,8 @@
posY = args->y;
PSDrawText( args->unicode_array, args->unicode_array_len, false );
- posX = (PLINT) (args->x-((args->just*textWidth)*cos_rot-(0.5*textHeight)*sin_rot)*scalex);
- posY = (PLINT) (args->y-((args->just*textWidth)*sin_rot+(0.5*textHeight)*cos_rot)*scaley);
+ posX = (PLINT) (args->x-((args->just*textWidth)*cos_rot+(0.5*textHeight)*sin_rot)*scalex);
+ posY = (PLINT) (args->y-((args->just*textWidth)*sin_rot-(0.5*textHeight)*cos_rot)*scaley);
PSDrawText( args->unicode_array, args->unicode_array_len, true );
AddtoClipRegion( 0, 0, width, height );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|