dangnm / apv

Automatically exported from code.google.com/p/apv
GNU General Public License v3.0
0 stars 0 forks source link

Zoom / Canvas Size Changed #73

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi All,

  I want to create function for zooming using pinch gesture, but there is something strange, every time pinch zoom already changes the canvas size, it's blank all the canvas and rerender.  Is there any option or way to avoid canvas blank when rerender the page using new changed size?
Thanks

Best Regards,
Santo

Original issue reported on code.google.com by abun.sa...@gmail.com on 21 Oct 2011 at 7:57

GoogleCodeExporter commented 8 years ago
Whenever the canvas is drawn, it is drawn from scratch, yes, that's how the 
canvas drawing model works.  I think there may be a way of using surface to get 
around that.

Original comment by arpruss on 4 Dec 2011 at 11:31

GoogleCodeExporter commented 8 years ago
Thanks for the response. :)

Original comment by abun.sa...@gmail.com on 5 Dec 2011 at 4:12