SVG: stroke-width and scale

Christina Roßmanith ChrRossmanith at gmx.de
Sun May 6 12:23:46 PDT 2012


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?

Christina




More information about the LibreOffice mailing list