summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-03 14:31:19 +0200
committerNoel Grandin <noel@peralex.com>2015-06-04 08:30:24 +0200
commit42f771d6e9c02c50acc49f7feb1a9b5d0a9368ae (patch)
tree227208438b1723a20842ff8555b1bbb1e8b8ba27 /cppcanvas
parent1d92933d96d94819fa3a4ae2de9519874f9b92b6 (diff)
convert B2DLineJoin to scoped enum
Change-Id: I4fb8f2c9e2080e3aa542d2ccf838e6784baa8429
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 99c76b2ae12d..c1b3a1701b88 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -124,16 +124,16 @@ namespace
switch(rLineInfo.GetLineJoin())
{
- default: // B2DLINEJOIN_NONE, B2DLINEJOIN_MIDDLE
+ default: // B2DLineJoin::NONE, B2DLineJoin::Middle
o_rStrokeAttributes.JoinType = rendering::PathJoinType::NONE;
break;
- case basegfx::B2DLINEJOIN_BEVEL:
+ case basegfx::B2DLineJoin::Bevel:
o_rStrokeAttributes.JoinType = rendering::PathJoinType::BEVEL;
break;
- case basegfx::B2DLINEJOIN_MITER:
+ case basegfx::B2DLineJoin::Miter:
o_rStrokeAttributes.JoinType = rendering::PathJoinType::MITER;
break;
- case basegfx::B2DLINEJOIN_ROUND:
+ case basegfx::B2DLineJoin::Round:
o_rStrokeAttributes.JoinType = rendering::PathJoinType::ROUND;
break;
}