summaryrefslogtreecommitdiff
path: root/cppcanvas/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-02 08:36:23 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commit65ca57a447bae97714b1b32aa2df5705215a95ad (patch)
tree9b62f8fb4a890d5fcba13abc446b3244e9c5232f /cppcanvas/source
parenta881fd7e66294ada222e1d618a7d47a0549a2342 (diff)
convert LineStyle to scoped enum
Change-Id: I30cfa5a0649b806604c443f55683d1f2a430983d
Diffstat (limited to 'cppcanvas/source')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 955c9ad970e6..04c85cd04296 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -158,7 +158,7 @@ namespace
}
}
- if( LINE_DASH == rLineInfo.GetStyle() )
+ if( LineStyle::Dash == rLineInfo.GetStyle() )
{
const ::cppcanvas::internal::OutDevState& rState( rParms.mrStates.getState() );
@@ -1890,7 +1890,7 @@ namespace cppcanvas
io_rCurrActionIndex += pLineAction->getActionCount()-1;
}
}
- else if( LINE_NONE != rLineInfo.GetStyle() )
+ else if( LineStyle::NONE != rLineInfo.GetStyle() )
{
// 'thick' line
rendering::StrokeAttributes aStrokeAttributes;
@@ -2075,7 +2075,7 @@ namespace cppcanvas
io_rCurrActionIndex += pLineAction->getActionCount()-1;
}
}
- else if( LINE_NONE != rLineInfo.GetStyle() )
+ else if( LineStyle::NONE != rLineInfo.GetStyle() )
{
// 'thick' line polygon
rendering::StrokeAttributes aStrokeAttributes;