Correct.  Nothing happens until the window is 'flushed' (which 
normally happens in the event loop).  It is one of the joys of 
programming on the Mac (compared to Windows).

Paul Sanders

----- Original Message ----- 
From: "David Blanton" <aired...@tularosa.net>
To: "cocoa-dev List" <cocoa-dev@lists.apple.com>
Sent: Friday, January 08, 2010 8:38 PM
Subject: Flicker Free Drawing


Does NSBackingStoreBuffered guarantee there will be no flicker 
when
drawing?

That is, I won't see the content view background drawn, then 
myview
background drawn, then myview whatever I draw into bounds rect 
...
which would be "flicker, flicker" if I am drawing all through 
resizing
the window and scrolling the content.

-db
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the 
list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/p.sanders%40alpinesoft.co.uk

This email sent to p.sand...@alpinesoft.co.uk 



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to