class PLOTTER: dash lines parameters in one place for plot. I made minor changes (values in mm and set to give the same size as dashed lines drawn by wxDC, using short dash.)

This commit is contained in:
unknown
2015-03-10 21:00:50 +01:00
committed by jean-pierre charras
parent c586d9735e
commit f87577ca72
5 changed files with 31 additions and 16 deletions
+2 -1
View File
@@ -132,7 +132,8 @@ void PDF_PLOTTER::SetDash( bool dashed )
{
wxASSERT( workFile );
if( dashed )
fputs( "[200] 100 d\n", workFile );
fprintf( workFile, "[%d %d] 0 d\n",
(int) GetDashMarkLenIU(), (int) GetDashGapLenIU() );
else
fputs( "[] 0 d\n", workFile );
}