SVG: stroke-width and scale

Marco Cecchetti mrcekets at gmail.com
Sun May 6 15:16:29 PDT 2012


On Sun, 06 May 2012 21:23:46 +0200, Christina Roßmanith  
<ChrRossmanith at gmx.de> wrote:

> Hi,
>
> what influence is anisotropic scaling supposed to have on stroke-width?
>
> Given a line
>
> <g transform="translate(60,-30) scale(8,2)">
> <path d="M 20 40 H 40" stroke-width="4" stroke="black" />
> </g>
>
> Currently stroke-width in this example get scaled to 8*4=32 which seems  
> to be incorrect to me. If it gets scaled at all it should get the  
> scaling perpendicular to the line direction, i.e. 2*4=8.
>
> Any thoughts?
>

You are right.

-- Marco

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the LibreOffice mailing list