Thomas-

I knew you were going to say that :-)

My example was incomplete. I wanted to transform and then draw many  
graphic primitives, not just one, and without groups because of the  
nesting issue. I agree with you about the userspace (scope) issue and  
resetting midstream, but it would be handy (for me) and there is a  
sequence to the commands which would answer that. Anyways, your  
comments sound good. thanks! I have reworked our parser for the way  
you suggest.

thanks!-

-lance


On May 12, 2006, at 1:32 PM, [EMAIL PROTECTED] wrote:

> Hi Lance,
>
> svg-developers@yahoogroups.com wrote on 05/11/2006 02:03:58 PM:
>
>>> you can combine like this
>>>    <rect style="transform="translate(8,48)" .... X1 xxx>
>
>> However, it also makes for a lot of redundant attributes, or deeply
>> nested groups. I don't like that, but I guess there is no way around
>> that at this time?
>
>    I don't see any "extra" redundancy SVG's way:
>
>    <g ....>
>      <rect transform="translate(1,1)" ...>
>      <rect transform="translate(2,2)" ...>
>    </g>
>
>    Your way:
>
>    <g ....>
>      <set transform="translate(1,1)"/>
>      <rect ...>
>      <set transform="translate(2,2)"/>
>      <rect ...>
>    </g>
>
>    It looks to me like your way has this extra "wasted" 'set' element.
>
>> to reset the attribute at the time of processing; and even make the
>> set implicit to g="current" so I don't have to refer to it as that is
>> the deepest context anyways. Otherwise, svg gets verbose and  
>> redundant.
>
>    I beg to differ, I'll admit that trying to nest your g elements  
> isn't
> that nice, but just setting the transform on the rects is very concise
> and avoids a lot of issues like just what is the userspace of the g
> if you can change it in the middle of the children list...
>
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/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