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:
committed by
jean-pierre charras
parent
c586d9735e
commit
f87577ca72
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user