27

When I rotate a text or other object in InkScape manually (by clicking on it twice, slowly) I can't seem to be able to rotate it back to 0 degrees exactly.

When I access Transformation menu (Ctrl + Shift + M), there is just relative rotation option. But the absolute rotation must be known, when the text is rotated!

So where do I edit absolute object rotation?

3 Answers 3

29

I'm not aware of any elegant solution, but it can be done with the XML Editor.

  1. Select the rotated object.

  2. Click the XML Editor button on the toolbar.

    XML Editor button

  3. Selected element will also be selected in the XML Editor. Find the transform property on the right and click it.

    XML Editor with element's transform property selected

  4. Change the value to matrix(1,0,0,1,0,0) and click Set.

This will reset all transformations applied to the selected object.

3
  • Thank you. Using XML editor is just fine for me. Can I somehow write a macro that does this instantly? Aug 10, 2014 at 15:58
  • I have never used macros so I can't really tell you if it's possible.
    – gronostaj
    Aug 10, 2014 at 16:17
  • 9
    Tip for Googlers: No need to type matrix(1,0,0,1,0,0): just clear the stuff in the value box out and press set to achieve the same thing. Jan 26, 2015 at 11:49
3

Instead of setting it to the identity matrix, simply delete the "transform" attribute by clicking to the red "x" icon above the attribute view.

1
  • 2
    Where can I find the attribute view?
    – Abdull
    Apr 30, 2017 at 17:29
1

Here's a tip: paths need to be "grouped" before you try to rotate, or there is no transform property applied. Rotating a path without grouping it simply changes the coordinates of all the path's points.

So in order to see the "transform" property in the XML editor, select the path and hit CTRL-G before rotating. Then any rotations will be applied to the group, not the individual path, thus creating the "transform" property in the XML editor.

Hope this helps!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .