Kaydet (Commit) 19abb8de authored tarafından Armin Le Grand's avatar Armin Le Grand

i121972 Use svg rx/ry/cx/cy defines in draw:ellipse when used

üst 0a0a9b32
...@@ -1224,6 +1224,15 @@ void SdXMLEllipseShapeContext::StartElement(const uno::Reference< xml::sax::XAtt ...@@ -1224,6 +1224,15 @@ void SdXMLEllipseShapeContext::StartElement(const uno::Reference< xml::sax::XAtt
SetStyle(); SetStyle();
SetLayer(); SetLayer();
if(mnCX != 0 || mnCY != 0 || mnRX != 1 || mnRY != 1)
{
// #121972# center/radius is used, put to pos and size
maSize.Width = 2 * mnRX;
maSize.Height = 2 * mnRY;
maPosition.X = mnCX - mnRX;
maPosition.Y = mnCY - mnRY;
}
// set pos, size, shear and rotate // set pos, size, shear and rotate
SetTransformation(); SetTransformation();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment