On 28/04/12 19:48, Christina Roßmanith wrote:
Hi,
in createPolygonFromRect the interval [0,1] is scaled to
[width/2,height/2]. Hence rx and ry have to be divided by width/2 and
height/2 respectively - I totally agree with Marco (cf. Re:
svgreader.cxx: XML_RECT question).
The attached rounded_rect.svg tests the case that rx=width/2 and
ry=height/2 which should be rendered as an ellipse.
Christina
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
--
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.