|Drawing an image on a double buffered canvas [message #883302]
||Fri, 08 June 2012 08:41
| Jan Krakora
Registered: December 2009
I'm trying to draw an image on a canvas.
I just create a shell with a canvas and draw a png image on it.
When I create the Canvas with the SWT.NONE style, the time required for rendering
is about twice longer than with the SWT.DOUBLE_BUFFERED style. I'm running on Windows 7.
I thought the double buffering technique is used for reducing flashing. So in my opinion
SWT.DOUBLE_BUFFERED should take longer.
Can somebody explain it to me?
Powered by FUDForum
. Page generated in 0.01433 seconds