Hi Shamjith,

Shamjith K V <[EMAIL PROTECTED]> wrote on 06/14/2006 01:14:15 AM:

> I am trying to implement an svg viewer.
> I also want to display a horizontal ruler (the scale value can be in 
> centimeter or inch) for that viewer. 
> Some can anybody please tell me how to get the width of the svg image 
> dynamically upon zooming.

   The width of the document where?  In screen pixels?
   Depending on exactly what you want you basically need to project the
document width/height through the rendering transform of the Canvas
(getRenderingTransform).

> Also how to disable the centering of the rendered image before resize.
> Thanks and regards,

   JSVGComponent.setRecenterOnResize(false);



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to