Re: DotView.m
Re: DotView.m
- Subject: Re: DotView.m
- From: Graeme Phillipson <email@hidden>
- Date: Wed, 7 Nov 2001 13:23:55 +0000
Hello,
On Wednesday, November 7, 2001, at 01:08 PM, John C. Randolph wrote:
Double-buffering is a property of the Window, not the View, and it's
orthogonal to why you shouldn't call -drawRect:.
-jcr
Surely (as I understand double buffering) there are three step, create
offscreen buffer, draw in it, flip the buffer onto the screen. Possibly
all drawing actions could go into a offscreen buffer thats there for the
window all the time, but unless the framework knows that your done
drawing (i.e. you just returned from the drawRect method that was called
by the event loop after setNeedsDisply:YES) surely it wouldn't know to
flip the buffer onto the screen?
Graeme Phillipson.
References: | |
| >Re: DotView.m (From: "John C. Randolph" <email@hidden>) |