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 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