From: <hba...@us...> - 2008-08-20 00:29:30
|
Revision: 8683 http://plplot.svn.sourceforge.net/plplot/?rev=8683&view=rev Author: hbabcock Date: 2008-08-20 00:29:40 +0000 (Wed, 20 Aug 2008) Log Message: ----------- Fixed the argument list for plRotationShear to reflect the recent changes due to the changes in plptex3. Modified Paths: -------------- trunk/drivers/wxwidgets.h trunk/drivers/wxwidgets_agg.cpp trunk/drivers/wxwidgets_dc.cpp trunk/drivers/wxwidgets_gc.cpp Modified: trunk/drivers/wxwidgets.h =================================================================== --- trunk/drivers/wxwidgets.h 2008-08-19 19:58:15 UTC (rev 8682) +++ trunk/drivers/wxwidgets.h 2008-08-20 00:29:40 UTC (rev 8683) @@ -166,6 +166,7 @@ PLINT posX, posY; PLFLT rotation, cos_rot, sin_rot; PLFLT shear, cos_shear, sin_shear; + PLFLT stride; }; Modified: trunk/drivers/wxwidgets_agg.cpp =================================================================== --- trunk/drivers/wxwidgets_agg.cpp 2008-08-19 19:58:15 UTC (rev 8682) +++ trunk/drivers/wxwidgets_agg.cpp 2008-08-20 00:29:40 UTC (rev 8683) @@ -279,7 +279,7 @@ fontSize = pls->chrht * DEVICE_PIXELS_PER_MM * 1.2; /* calculate rotation of text */ - plRotationShear( args->xform, &rotation, &shear ); + plRotationShear( args->xform, &rotation, &shear, &stride); rotation -= pls->diorot * M_PI / 2.0; cos_rot = cos( rotation ); sin_rot = sin( rotation ); Modified: trunk/drivers/wxwidgets_dc.cpp =================================================================== --- trunk/drivers/wxwidgets_dc.cpp 2008-08-19 19:58:15 UTC (rev 8682) +++ trunk/drivers/wxwidgets_dc.cpp 2008-08-20 00:29:40 UTC (rev 8683) @@ -298,7 +298,7 @@ fontSize = pls->chrht * VIRTUAL_PIXELS_PER_MM/scaley * 1.3; /* calculate rotation of text */ - plRotationShear( args->xform, &rotation, &shear ); + plRotationShear( args->xform, &rotation, &shear, &stride); rotation -= pls->diorot * M_PI / 2.0; cos_rot = cos( rotation ); sin_rot = sin( rotation ); Modified: trunk/drivers/wxwidgets_gc.cpp =================================================================== --- trunk/drivers/wxwidgets_gc.cpp 2008-08-19 19:58:15 UTC (rev 8682) +++ trunk/drivers/wxwidgets_gc.cpp 2008-08-20 00:29:40 UTC (rev 8683) @@ -339,7 +339,7 @@ textBlue=pls->cmap0[pls->icol0].b; /* calculate rotation of text */ - plRotationShear( args->xform, &rotation, &shear ); + plRotationShear( args->xform, &rotation, &shear, &stride); rotation -= pls->diorot * M_PI / 2.0; cos_rot = cos( rotation ); sin_rot = sin( rotation ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |