Re: Coalesced updates = pain
Re: Coalesced updates = pain
- Subject: Re: Coalesced updates = pain
- From: John Stiles <email@hidden>
- Date: Fri, 22 Jul 2005 17:19:31 -0700
On Jul 22, 2005, at 5:10 PM, Corbin Dunn wrote:
What can I do to update the screen fluidly without redrawing way
more screen area than necessary?
Hi John,
You probably want to use:
- (void)getRectsBeingDrawn:(const NSRect **)rects count:(int *)count;
And only draw what is in the returned rects.
--corbin
Hmm, that didn't exist when I wrote the code back on OS X 10.2 :)
I guess I will use that technique on 10.3+ and use displayRect on 10.2.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden