Hi Sudhakar,

Sudhakar S <[EMAIL PROTECTED]> wrote on 08/29/2006 02:17:30 AM:

> I am zooming in the SVG Document to large extent. After zoomed in, how 
to
> get the transformed/scaled "rect" element's stroke width?

   You should call getScreenCTM on the rect element.  For simple
cases 'a' member of the matrix is the scale otherwise you will need
to calculate the square root of the determinant of the matrix as an
approximation of the scale factor (you can have different scales in X
& Y).


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to