W3C home > Mailing lists > Public > www-svg@w3.org > February 2001

Re: coords-unitsProc-BE-04.svg: still don't get it.

From: Christophe Jolif <cjolif@ilog.fr>
Date: Tue, 06 Feb 2001 14:52:17 +0100
Message-ID: <3A800191.36B98FC5@ilog.fr>
To: Stephane Conversy <conversy@emn.fr>
CC: svg-testsuite-comments@w3.org, www-svg@w3.org
Stephane,

Stephane Conversy wrote:
> 
> Hello.
> 
> I still don't get how to deal with absolute and relative values.
> in coords-unitsProc-BE-04.svg, we have:
> 
> <g transform="translate(15, 45) scale(2)">
>                         <!-- Draw marker using user space units -->
>                         <circle cx="7.5" cy="7.5" r="2.5"
> style="fill:black"/>
>                         <!-- Draw CSS marker using px units -->
>                         <circle cx="7.5px" cy="7.5px" r="1.5px"
> style="fill:red"/>
>                 </g>
> 
> is cx (7.5px) in the red circle affected by the scale(2) transform in
> the
> parent group ?

Yes it is. Both user space units and css units are modified by
transformations.

--
Christophe
Received on Tuesday, 6 February 2001 08:55:34 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:20 GMT