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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user