remove B2DLineJoin::Middle

and consistently map css::drawing::LineJoint_MIDDLE to the same thing that
css::drawing::LineJoint_MITRE points to everywhere else

Change-Id: I77b7586ea13f3fe84c0529172758256666488d36
This commit is contained in:
Caolán McNamara
2016-02-02 15:47:41 +00:00
parent ddd77c84cf
commit c3cc55968e
18 changed files with 26 additions and 41 deletions

View File

@@ -120,9 +120,9 @@ namespace
o_rStrokeAttributes.StartCapType = rendering::PathCapType::BUTT;
o_rStrokeAttributes.EndCapType = rendering::PathCapType::BUTT;
switch(rLineInfo.GetLineJoin())
switch (rLineInfo.GetLineJoin())
{
default: // B2DLineJoin::NONE, B2DLineJoin::Middle
case basegfx::B2DLineJoin::NONE:
o_rStrokeAttributes.JoinType = rendering::PathJoinType::NONE;
break;
case basegfx::B2DLineJoin::Bevel: