![](https://secure.gravatar.com/avatar/630f0c3783a499f1c858121ca3e2a840.jpg?s=120&d=mm&r=g)
Working on it! any way I coulden't use the diagonal but think i give a visual better solution.
Now Im thinking also in a tool to rotate...
Cheers, Jabier.
On dom, 2016-10-16 at 08:43 +0100, C R wrote:
Nice idea Martin... You could also avoid the clipping problem by taking the diagonal measurement of the current canvas view and use it as the height and width, making a square preview that extends beyond the borders of the preview from the center, so you never see any clipping during rotation.
-C
On 16 Oct 2016 8:24 am, "Martin Owens" <doctormo@...400...> wrote:
On Sat, 2016-10-15 at 15:54 +0200, Jabiertxo Arraiza Cenoz wrote:
Realy there is "realtime" but the draw need to be re-rendered so in complex objects you need to wait. Seems dificult to solve in the future without taking a bitmap image of current desktop and realtime "phantom" over real draw. but this seems not a good idea to me.
No need for phantom, just take the pixels off the canvas and rotate them in real time using a non-accurate method (i.e. the fast one).
That should provide enough in-between for mouse actions. Only when the rotation has been stable for a second or two does it need to be re- rendered.
I know this means there's going to be clipping edges, but I don't think it's going to matter as much as not being able to /see/ what the rotation looks like while it's being rotated because of some complex path, filter or pattern.
Best Regards, Martin Owens