A process called double buffering (which is what OS X is doing for you)
Dont draw into the canvas directly
Draw everything into a picture
Then when you get the redraw event for the canvas draw this picture all
at once into the canvas
That's roughly what you need to do to reduce flicker
On Sunday, March 30, 2003, at 03:33 PM, Martin Fitzgibbons wrote:
I have just started to use a Canvas control to hold my puzzle
contents. Everytime I make changes to the puzzle I redraw the canvas.
This is not noticeable in OSX but in Win and PPC it produces an
annoying screen flash.
How do I go about reducing this?
Norman Palardy
Director Of Software Development Zymeta Corporation
npalardy at zymetacorp dot com www.zymeta.com
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>
Subscribe to the digest:
<mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.
|