Re: Transform element and metric system

"Robert Longson" <[email protected]>
Newsgroups gmane.text.xml.svg.devel
Message-ID <[email protected]>
--- In [email protected], "jamesd" <jcdeering1@...> wrote:
>
> I can use the metric system in SVG design for all purposes except the transform element. Why?

Being fixed in the upcoming CSS transforms specifications I believe.

> 
> If I want to place something at x=85% y=30% I can't, using transform. I have to stop, pull up a percentage calculator and then compute the pixel value based on my viewBox. In less time then the thought, the computer can do this. Am I wrong to think this is a waste of time, resources and just plain stupid?

You don't need to do that even now.
Add an inner <svg> element and then redefine the co-ordinates to whatever you want using its viewBox. Place the inner <svg> at x="85%" y="30%". The <svg> element does the transforming for you.

Robert



------------------------------------

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.