--- In [email protected], "Tomas Sanchez Romani"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> > You can add the x and y offset in the rotation;
> > &lt;text x=&quot;477&quot; y=&quot;188&quot;
transform=&quot;rotate(-45
> 477 188)&quot;&gt;Hello world&lt;/text&gt;
> 
> I've tried that, but it doesn't do the trick. Only the first
character get's
> rotated the correct angle, the other 2 characters get rotated evenly
on the
> 360 degrees.
> 
> I'm using millimeters as the unit (since I'm doing a document that's
> supposed to get printed on an A4-psper)
> 
> Could this mess things up? If so, how could I transform mm to px
(without
> knowing beforehand the dpi of the users screen?)
> 

Not that I know of but then again, I have never used mm as a unit in
an SVG. Can you post an example code so we can have a look?

> >
> > As you see, the rotation attribute accepts angle and x- and
> > y-translation. You just need to know where you put the text in your
> > coordinate system.
> 
> I've even tried using the transform="translate(x, y) rotate(angle)
> traanslate(-x, -y)" notation that I saw is the equivalent of
> transform="rotate(angle, cx, cy)" over at the spec at w3.org
> 
> /Tomas
> > --- In [email protected], &quot;Tomas Sanchez
Romani&quot;
> > tsr.offentlig@ wrote:
> > &gt;
> > &gt; Hi,
> > &gt;
> > &gt; I'm trying to rotate a text in a svg-image and can't get it
right.
> > &gt;
> > &gt; Either I get the text rotated from the document X=0 and Y=0
point or
> > I get
> > &gt; (by adding the cx and cy vars to the transform attribute) the
first
> > &gt; character rotated my wanted angle and the rest some to my random
> angle.
> > &gt;
> > &gt; What I want to accomplish seems to me (a noob) quite easy and
> straight
> > &gt; forward, but I just can't get it to happen. Help please.
> > &gt;
> > &gt; I'm using straight svg (from text-files, generated from php),
> > inkscape and
> > &gt; sodipodi (on ubuntu breezy badger 5.11).
> > &gt;
> > &gt; /Tomas
> > &gt;
> >
> >
> >
> >
> >
> >
> >
> > -----
> > To unsubscribe send a message to:
> [EMAIL PROTECTED]
> > -or-
> > visit http://groups.yahoo.com/group/svg-developers and click
&quot;edit my
> membership&quot;
> > ----
> > Yahoo! Groups Links
> >
> > &lt;*&gt; To visit your group on the web, go to:
> >     http://groups.yahoo.com/group/svg-developers/
> >
> > &lt;*&gt; To unsubscribe from this group, send an email to:
> >     [EMAIL PROTECTED]
> >
> > &lt;*&gt; Your use of Yahoo! Groups is subject to:
> >     http://docs.yahoo.com/info/terms/
> >
> >
> >
> >
> >
> >
> >
>







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