jiayouxjh / grafx2

Automatically exported from code.google.com/p/grafx2
0 stars 0 forks source link

Impossible to draw in part of zoomed area #341

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's possible to get situation where the zoomed area is not entirely a
sub-part of the non-zoomed area. When this happens, you can't draw in the
zoomed area, it ignores your click, because the coordinates are considered
clipped. (It's the same mechanism that protects your drawing from drawing
outside edges of viewport)
I think this can happen with a large image, and when using changes of zoom
factor while the mouse points at non-zoomed area.
This must be present in 2.1, since the whole zoom-on-mouse changes.

Original issue reported on code.google.com by yrizoud on 22 Apr 2010 at 6:24