hi.

in my limited understanding of french i believe i'm facing a similar situation. 
i'm trying to set a registration point on my object. my object is basically a 
pin and i group it like this:

<g>
 <circle fill="#FF4000" stroke="#000000" cx="10.467" cy="7.908" r="7.408"/>
 <line fill="#FFBF00" stroke="#000000" x1="5.667" y1="13.508" x2="0.466" 
y2="26.907"/>
 <line fill="#FFBF00" stroke="#000000" x1="10.1" y1="15.208" x2="0.466" 
y2="26.907"/>
 <text transform="matrix(1 0 0 1 1.9038 36.2236)" font-family="'Myriad-Bold'" 
font-size="10">12345</text>
</g>

the svg element that is output by adobe illustrator looks like this:
<svg  version="1.1" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" 
width="18" height="27" viewBox="0 0 18 27"
  overflow="visible" enable-background="new 0 0 18 27" xml:space="preserve">

when i place my object in a pdf i'd like to place it with a registration point 
at the bottom left instead of the top left. but when i change my code to this 
it doesn't work.
<svg  version="1.1" id="Layer_1" xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" 
width="18" height="27" viewBox="-18 -27 18 27"
  overflow="visible" enable-background="new 0 0 18 27" xml:space="preserve">

and then my <g> element to this:
<g transform="translate(18 27)">

am i approaching this correctly or am i unable to change the registration point 
of an object?

thanks. -- matt. 

  ----- Original Message ----- 
  From: Pascal BENOIST 
  To: [email protected] 
  Sent: Friday, October 13, 2006 9:58 AM
  Subject: RE: 0,0 au centre [svg-developers] Re: SVG 1.1 Layers


  Thanks for your answers.

  Excuse me, i did not know that it was absolutely forbidden to write in
  another language than English !!!

  Pascal BENOIST
  [EMAIL PROTECTED]
  Mob: +33 (0)6 12 61 68 02
  Fixe: +33 (0)4 50 75 17 74

  _____ 

  De : [email protected] [mailto:[EMAIL PROTECTED]
  De la part de Charles McCathieNevile
  Envoyé : jeudi 12 octobre 2006 07:46
  À : [email protected]
  Objet : Re: 0,0 au centre [svg-developers] Re: SVG 1.1 Layers

  On Thu, 12 Oct 2006 17:15:06 +0900, Stéphane ANCELOT <[EMAIL PROTECTED]
  <mailto:sancelot%40free.Fr> Fr> 
  wrote:

  > Okay,
  > But you know, best support will be available to you if you speak english

  c'est vrai. Quand-même...

  Utilise viewbox, genre
  <svg viewbox="-50 -50 50 50">
  <g transform="translate(50 50)">
  les contenus
  </g>
  </svg>

  ou qqchose du genre...

  cheers

  Chaals

  > you need to use the transform attribute .
  > Best Regards
  > Steph

  >
  > Pascal BENOIST wrote:
  >> 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"/>

  -- 
  Charles McCathieNevile, Opera Software: Standards Group
  hablo español - je parle français - jeg lærer norsk
  [EMAIL PROTECTED] <mailto:chaals%40opera.com> com Try Opera 9 now! 
http://opera.
  <http://opera.com> com

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

  [Non-text portions of this message have been removed]



   

[Non-text portions of this message have been removed]



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