
On 4/24/07, MenTaLguY <mental@...3...> wrote:
On Tue, 24 Apr 2007 16:23:42 -0300, "bulia byak" <buliabyak@...400...> wrote:
Yes. So page border, selected object frames, selection rect etc will all be non-rotated and will look funny.
Hmm, the rubberband and selection cue rects should probably remain oriented with the window axes (as should the individual node items),
Yes on the rubberband, but no on selection cue rects - I think they should be rotated too, if only because the bbox function returns the rect as min() and max() points in the desktop coords, not in window coords.
So, Derek: one thing you'll need to do is go to display/sodipodi-ctrlrect.cpp and enable it to display rects that are not aligned to horizontal/vertical. There are different approaches to this but I think the simplest is to do rendering via straightforward non-AA slanted lines. Then you will also need to do the same for grid and guides.
Then (if we decide to leave selection rubberband unrotated) another thing is to change the area selection code in selector and node tool to enable it to select objects/nodes with a rotated rect (it will be unrotated to the user, but rotated relative to the rotated canvas) - right now this code assumes an axis-aligned rect.