[svg-developers] Re: scaling objects

2005-03-18 Thread zdubii2000


Hi,
Many thanks, it worked.

Matei
--- In svg-developers@yahoogroups.com, "Aashish Singhvi" 
<[EMAIL PROTECTED]> wrote:
> 
> 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
> 
> 
> 
> Using viewBox makes the SVG viewer automatically do a 
transformation 
> (translate and scale) before rendering the document
> 
> HTH,
> Aashish
> 
> --- In svg-developers@yahoogroups.com, "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/
 





[svg-developers] Re: scaling objects

2005-03-15 Thread Aashish Singhvi


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



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

HTH,
Aashish

--- In svg-developers@yahoogroups.com, "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/