Re: [svg-developers] Re: Using symbols effectively

2005-12-08 Thread Chris Lilley
On Thursday, December 8, 2005, 3:42:46 PM, mchua1980 wrote:

m> Does it mean to resize it to my desired size, I need to apply 
m> transformation like scaling?  Can I set it through the height and 
m> width?

No. Set it through a viewBox and use a symbol element not a g element
for symbols. Then you will have scalable symbols.

m> --- In svg-developers@yahoogroups.com, Chris Lilley <[EMAIL PROTECTED]> 
m> wrote:
>>
>> On Wednesday, December 7, 2005, 1:03:03 AM, mchua1980 wrote:
>> 
>> m> --- In svg-developers@yahoogroups.com, Chris Lilley 
m> <[EMAIL PROTECTED]> 
>> m> wrote:
>> >>
>> 
>> >> 
>> >> This is why the use element establishes a new viewport. You 
m> decide 
>> m> how
>> >> big you want this particular use of the symbol to be. You can 
m> re-
>> m> use the
>> >> same symbol multiple times at different sizes.
>> 
>> m> I can only reposition the symbol using the  tag.  When I 
m> tried 
>> m> to set the width and height, the size doesn't change.
>> 
>> m> Here is sample symbol created using the Web Dwarf v2.   I 
m> placed it 
>> m> inside the defs tag and group it with an id called "Test"
>> 
>> That isn't a symbol . Its a group . It doesn't have a
>> viewBox.
>> 
>> 
>> -- 
>>  Chris Lilleymailto:[EMAIL PROTECTED]
>>  Chair, W3C SVG Working Group
>>  W3C Graphics Activity Lead
>>  Co-Chair, W3C Hypertext CG
>>







m> -
m> To unsubscribe send a message to:
m> [EMAIL PROTECTED]
m> -or-
m> visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
m>  
m> Yahoo! Groups Links



m>  






-- 
 Chris Lilleymailto:[EMAIL PROTECTED]
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG



 Yahoo! Groups Sponsor ~--> 
1.2 million kids a year are victims of human trafficking. Stop slavery.
http://us.click.yahoo.com/WpTY2A/izNLAA/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/
 




Re: [svg-developers] Re: Using symbols effectively

2005-12-07 Thread Chris Lilley
On Wednesday, December 7, 2005, 1:03:03 AM, mchua1980 wrote:

m> --- In svg-developers@yahoogroups.com, Chris Lilley <[EMAIL PROTECTED]> 
m> wrote:
>>

>> 
>> This is why the use element establishes a new viewport. You decide 
m> how
>> big you want this particular use of the symbol to be. You can re-
m> use the
>> same symbol multiple times at different sizes.

m> I can only reposition the symbol using the  tag.  When I tried 
m> to set the width and height, the size doesn't change.

m> Here is sample symbol created using the Web Dwarf v2.   I placed it 
m> inside the defs tag and group it with an id called "Test"

That isn't a symbol . Its a group . It doesn't have a
viewBox.


-- 
 Chris Lilleymailto:[EMAIL PROTECTED]
 Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG



 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/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/