From: <ai...@us...> - 2011-03-03 20:08:48
|
Revision: 11591 http://plplot.svn.sourceforge.net/plplot/?rev=11591&view=rev Author: airwin Date: 2011-03-03 20:08:42 +0000 (Thu, 03 Mar 2011) Log Message: ----------- Make the pdf device honour the -eofill option. Modified Paths: -------------- trunk/drivers/pdf.c Modified: trunk/drivers/pdf.c =================================================================== --- trunk/drivers/pdf.c 2011-03-03 19:44:22 UTC (rev 11590) +++ trunk/drivers/pdf.c 2011-03-03 20:08:42 UTC (rev 11591) @@ -459,9 +459,16 @@ HPDF_Page_LineTo( dev->page, (HPDF_REAL) xa[i], (HPDF_REAL) ya[i] ); if ( fill == 1 ) - HPDF_Page_FillStroke( dev->page ); + { + if ( pls->dev_eofill ) + HPDF_Page_EofillStroke( dev->page ); + else + HPDF_Page_FillStroke( dev->page ); + } else + { HPDF_Page_Stroke( dev->page ); + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |