[PUSHED] Correct handling of corner radii of rectangles

Fridrich Strba fridrich.strba at graduateinstitute.ch
Sun Apr 29 05:14:15 PDT 2012


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 at 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


More information about the LibreOffice mailing list