Hi,

We already made this kind of thing.

Inside inkscape editor, we create different inkscape layers .
eg one for hoover , one for pressed or unpressed view of widgets .
one for describing controls positions through the way of rectangles and 
dedicated xml tags

Then, a program processes the svg and extracts the components for the 
desired final language :
creates png images for each widget described in the svg file (eg one 
image for button_hoover, one image for button_pressed...).

This allows to design a generic rich gui interface for "any" graphic 
language (it may be java, xhtml, ....).
Thanks to object programming, you will only have to rewrite a new 
wrapper for the desired final language.


Best Regards
Steph


Holger Wll wrote:
> --- In [email protected], 
> "mostwantedsince198x" <[EMAIL PROTECTED]> wrote:
> 
> Hi
> 
>> Now we are trying to implement a  new functionality, which is 
> helpful 
>> for theme designers.Instead of editing svg files individually , we 
>> thought of collecting multiple SVG files and generate a single SVG 
>> file that contains a background layer and one layer for each 
>> individual SVG file. The layers shall be named so that when copying 
>> back to the tool,each SVG can be identified and applied to the 
>> corresponding elements. This will ease the job of designer , so he 
>> can do the necessary batch processing in the layers.
>>
> 
> this is a great idea, but there is a major problem with this approach.
> as far as i know , no SVG editor supports editing shapes inside a 
> group, you have to ungroup before editing the shapes, and then 
> regroup after editing, but then all settings of the group, like 
> transforms and ids ( or in case of a nested svg the viewbox etc. ) 
> are lost , so there is no way you can keep the structure ( and names
>  ) you need.
> 
> but that is a restriction of existing SVG editors, not an svg 
> specific problem.
> 
>> Now the problem is how can i structure the svg document in such a 
> way 
>> that each layer can accomodate one svg document , each has its on 
>> viewBox attribute specified ?
>>
>> Does SVG have any builtin support for layers other than <g> tag ?
>>
> 
> in SVG Full you can have nested svg elements, like
> 
> <svg>
>   <svg viewBox=...>
>   </svg>
> </svg>
> 
> you could also use symbols which also have their own viewBox.
> but both dont solve the problem described above.
> 
> cheers 
> Holger
> 
> 
> 
> 
> 
> 
> -----
> 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 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:
    mailto:[EMAIL PROTECTED] 
    mailto:[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/
 

Reply via email to