Re: svg:transform rotate



Am 15.03.2015 um 16:13 schrieb Andrey Repin:
Greetings, All!

Remind me please, do Dia support rotate() transformation in shape definitions?
No it does not. And I shall update the documentation [1] and dtd [2] if it will do.

What I'm trying to achieve is basically this:

But with master you can load the respective SVG and export it as shape to get the desired effect (see attachement).

   <svg:svg>
     <svg:ellipse style="fill: background; fill-opacity: 255; stroke: foreground; stroke-width: 1;"
       cx="1.5" cy="1.5" rx="1.5" ry="1.0"
       svg:transform="rotate(-30)"/>
     <svg:circle style="fill: background; fill-opacity: 255; stroke: foreground; stroke-width: 0.1;"
       cx="1.5" cy="1.5" r="0.5"/>
   </svg:svg>

HTH,
        Hans

[1] https://git.gnome.org/browse/dia/log/doc/custom-shapes
[2] https://git.gnome.org/browse/dia/log/doc/shape.dtd

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert

Attachment: rotated-ellipse.shape
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]