On 11/14/05, Peter Moulder <Peter.Moulder@...38...> wrote:
I don't think this should extend even across different editing sessions:
On the contrary, I think it's a good idea to store them across sessions. More often than not rotation center is a meaningful property of an object. I also remember other people have made requests to this effect.
i.e. I don't think the rotation centre should be stored in the SVG file, so I suggest reverting the following lines from sp-item.cpp:
Actually this patch has many probelms, as I wrote to John, and he agreed to rework it. So for now, I think the best thing is to revert the entire patch, until we have the correct implementation.
Also, decide what type r_cx/y should have. Currently sp-item.cpp:sp_item_init treats them as pointers (storing NULL there), while sp-item.h says that they're doubles. Those fields currently aren't used anywhere else. As for the inkscape:r_cx/y attributes, sp_item_write sets them to either "true" or unset, while other code assumes that the attributes specify a unitless coordinate.
Yes, I wrote about that too. See my comments in
http://sourceforge.net/tracker/index.php?func=detail&aid=1355277&gro...
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org