ISSUE-2208 (rotate-center-point): Consider allowing rotations to be relative to their bounding box center [SVG Core 2.0]

ISSUE-2208 (rotate-center-point): Consider allowing rotations to be relative to their bounding box center [SVG Core 2.0]

http://www.w3.org/Graphics/SVG/WG/track/issues/2208

Raised by: Cameron McCormack
On product: SVG Core 2.0

It is very common to rotate an object about its center point.  This requires knowing the center point, however, and in some cases this can't be known without scripting.  It would be handy to be able to specify that a rotation happens about the center point, e.g.:

  <svg ...>
    <text x='50' y='50' transform='rotate(-90, center)'/>
  </svg>

This would be good for animation, too.

Should we also have a backwards compatible parsing syntax for transform items so that we can introduce new features like this without disrupting the entire transform list?

Received on Friday, 30 January 2009 00:29:08 UTC