First-class support for filled shapes.

This commit is contained in:
Jeff Young
2020-11-14 01:40:32 +00:00
parent e6397fa6f7
commit ec020dd19f
42 changed files with 1886 additions and 2563 deletions
+7 -4
View File
@@ -565,11 +565,13 @@ void PLOTTER::ThickRect( const wxPoint& p1, const wxPoint& p2, int width,
}
void PLOTTER::ThickCircle( const wxPoint& pos, int diametre, int width,
OUTLINE_MODE tracemode, void* aData )
void PLOTTER::ThickCircle( const wxPoint& pos, int diametre, int width, OUTLINE_MODE tracemode,
void* aData )
{
if( tracemode == FILLED )
{
Circle( pos, diametre, FILL_TYPE::NO_FILL, width );
}
else
{
SetCurrentLineWidth( -1 );
@@ -579,11 +581,12 @@ void PLOTTER::ThickCircle( const wxPoint& pos, int diametre, int width,
}
void PLOTTER::FilledCircle( const wxPoint& pos, int diametre,
OUTLINE_MODE tracemode, void* aData )
void PLOTTER::FilledCircle( const wxPoint& pos, int diametre, OUTLINE_MODE tracemode, void* aData )
{
if( tracemode == FILLED )
{
Circle( pos, diametre, FILL_TYPE::FILLED_SHAPE, 0 );
}
else
{
SetCurrentLineWidth( -1 );