If your down-right most co-ordinate is Xmax, Ymax and up-left most co-
rdinate is Xmin, Ymin, then you can specify your svg document as

userwidth = Xmax - Xmin
userheight = Ymax - Ymin

<svg ... width="100%" height="100%" viewBox="Xmin Ymin userwidth 
userheight">

Using viewBox makes the SVG viewer automatically do a transformation 
(translate and scale) before rendering the document

HTH,
Aashish

--- In [email protected], "zdubii2000" <[EMAIL PROTECTED]> 
wrote:
> 
> Hello!
> 
> I have a small problem. I made a SVG drawing of a building, but 
it's 
> to large. I'd like to know how to make it smaller without changing 
> all the coordinates :).
> I tried scaling it with the scale transform, but it takes too much 
> time to load. Same thing happened when I changed the width and 
height 
> attributes of the svg.
> 
> Thank you,
> Matei





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