Relativement à Inkscape, pouvez-vous m'aider à définir en SVG des symboles
dont l'origine des coordonnées est au centre du symbole et non pas en haut à
gauche comme proposé par défaut...
Idéalement, je souhaite dessiner des symboles dont le code SVG ressemblerait
à ceci (représentation d'un symbole de zoom+) :

<circle cx="0" cy="0" r="5"/>
<line x1="-4" y1="0" x2="4" y2="0"/>
<line x1="0" y1="-4" x2="0" y2="4"/>

Merci

igeomatic
Pascal BENOIST
Consultant GIS, WebMapping, Photogrammetry
12, chemin Tivoli
CH-1213 PETIT-LANCY
email:[EMAIL PROTECTED]
http://www.igeomatic.com
Mob: +33 (0)6 12 61 68 02
Fixe: +33 (0)4 50 75 17 74


-----Message d'origine-----
De : [email protected] [mailto:[EMAIL PROTECTED]
De la part de Stéphane ANCELOT
Envoyé : mercredi 11 octobre 2006 16:06
À : [email protected]
Objet : Re: [svg-developers] Re: SVG 1.1 Layers : Help needed

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]
<mailto:svg-developers%40yahoogroups.com> , 
> "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]
<mailto:svg-developers-unsubscribe%40yahoogroups.com> 
> -or-
> visit http://groups.yahoo.com/group/svg-developers
<http://groups.yahoo.com/group/svg-developers>  and click "edit my
membership"
> ---- 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 



 

----------------------------------------------------------------------------
-----------
Orange vous informe que cet e-mail a été contrôlé par l'anti-virus mail.
Aucun virus connu à ce jour par nos services n'a été détecté.







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