Add missing cases to silence compiler warnings

This commit is contained in:
Ian McInerney 2020-04-16 18:38:52 +01:00
parent 7526d2affb
commit b8d2802cfe
1 changed files with 8 additions and 0 deletions

View File

@ -230,6 +230,10 @@ void SVG_PLOTTER::setSVGPlotStyle( bool aIsGroup, const std::string& aExtraStyle
case FILLED_WITH_BG_BODYCOLOR:
fputs( "fill-opacity:0.6; ", outputFile );
break;
case FILLED_WITH_COLOR:
wxFAIL_MSG( "FILLED_WITH_COLOR not implemented" );
break;
}
double pen_w = userToDeviceSize( GetCurrentLineWidth() );
@ -549,6 +553,10 @@ void SVG_PLOTTER::PlotPoly( const std::vector<wxPoint>& aCornerList,
case FILLED_SHAPE:
setSVGPlotStyle( false, "fill-rule:evenodd;" );
break;
case FILLED_WITH_COLOR:
wxFAIL_MSG( "FILLED_WITH_COLOR not implemented" );
break;
}
DPOINT pos = userToDeviceCoordinates( aCornerList[0] );