From: <ai...@us...> - 2011-03-03 00:53:54
|
Revision: 11589 http://plplot.svn.sourceforge.net/plplot/?rev=11589&view=rev Author: airwin Date: 2011-03-03 00:53:48 +0000 (Thu, 03 Mar 2011) Log Message: ----------- Make -dev wingcc honor the -eofill option. The -eofill option with -dev wingcc now gives the same results for example 27 under wine as -dev xwin under Linux. This was expected since the wine display must ultimately be translated into an X display. A more interesting experiment would be to run -dev wingcc under Microsoft Windows with and without the -eofill option for example 27. Modified Paths: -------------- trunk/drivers/wingcc.c Modified: trunk/drivers/wingcc.c =================================================================== --- trunk/drivers/wingcc.c 2011-03-02 20:47:12 UTC (rev 11588) +++ trunk/drivers/wingcc.c 2011-03-03 00:53:48 UTC (rev 11589) @@ -646,6 +646,12 @@ plP_setpxl( dev->scale * pls->xdpi / 25.4, dev->scale * pls->ydpi / 25.4 ); plP_setphy( 0, (PLINT) ( dev->scale * dev->width ), 0, (PLINT) ( dev->scale * dev->height ) ); + // Set fill rule. + if( pls->dev_eofill) + SetPolyFillMode( dev->hdc, ALTERNATE); + else + SetPolyFillMode( dev->hdc, WINDING); + #ifdef HAVE_FREETYPE if ( pls->dev_text ) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |