W3C home > Mailing lists > Public > www-svg@w3.org > September 2006

textPath nested inside tspan with dx and dy

From: Alex Menzies <amenzie@us.ibm.com>
Date: Fri, 1 Sep 2006 17:35:30 -0500
To: www-svg@w3.org
Message-ID: <OFFF3CF390.7EF0A08F-ON872571DC.007BF0F6-862571DC.007C19DC@us.ibm.com>
I would like to ask for some clarification on how the following snippet of 
svg script should be handled:

<text>
    <tspan x="20" y="20" dx="30" dy="40">
      <textPath xlink:href="#someTextPath">
        Hello World
      </textPath>
    </tspan>
</text>

In this code, should the dx and dy be applied to the current-text-position 
before or after the textPath element sets the current-text-position equal 
to the starting point of the path?  In other words, will ?Hello World? be 
advanced along the path by 30?

Thanks!

-Alex Menzies
Received on Friday, 1 September 2006 22:35:52 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:35 GMT