On Mon, 2005-11-14 at 05:00 -0400, bulia byak wrote:
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 totally agree with Bulia! What should be implemented instead of moving it back after a session is that snapping to centre (plus the corners) when shift is pressed actually works :) (currently pressing shift causes the centre of rotation to move to the centre of the object, but on release of the mousebutton it's placed where the cursor is.
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
SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel