Jacob Beard schrieb am 03.02.2011 17:13:

> On Thu, Feb 3, 2011 at 10:17 AM, John Delacour <[email protected]> wrote:
>> At 16:16 +0000 31/01/2011, fyrd_svg wrote:
>>> SVG elements don't allow the transform attribute and thus cannot be
>>> directly rotated. Simple workaround to this is to wrap the SVG
>>> element in a <g> and rotate it. For example:
>>> <g transform="rotate(29.9136, 83, 238.5)">
>>> <svg></svg>
>>> </g>
>> Unless I'm missing something crucial, that simply is not the case.
>> Any element can be transformed. It may well be convenient or
>> desirable to do a part or all or the transformations at <g> level,
>> but there is no law against transforming any element by itself.
>> Since the original poster wrote simply "i need help on SVG element
>> Rotation...", that's all the help he gets for the moment.
> Alexis is actually correct, and it's in the spec. See the DOM interfaces to
> SVGSVGElement versus SVGGElement:
> 
> http://www.w3.org/TR/SVG/struct.html#InterfaceSVGSVGElement
> http://www.w3.org/TR/SVG/struct.html#InterfaceSVGGElement
> 
> SVGGElement extends SVGTransformable, whereas SVGSVGElement does not. His
> solution is the way I would approach this.

The mailtext was: "i need help on SVG element Rotation....", but the
title was "rotate the svg element".
So it could be interpreted, as he wants to rotate the <svg>-element
(which is not rotateable) and not an other element like text, rect,
circle (which is).

-- 
best regards
Holger



------------------------------------

-----
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:
    [email protected] 
    [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