FROM : Ricky Sharp
DATE : Sat May 03 15:44:58 2008
On May 3, 2008, at 8:30 AM, Graham Cox wrote:
> Cocoa already coalesces updates in this way, so when drawRect: is
> called, the list of rects is the merged list.
>
> I does raise a question though - is there a way to get, at any point
> in time, the list of merged rects needing update from a view *at
> that point* - in other words, outside of a drawRect: call, can I
> found out what has been marked for update so far? That would be
> useful.
You may have to step down to CoreGraphics (CG) APIs. Perhaps
CGWaitForScreenRefreshRects or some other API would be helpful?
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
DATE : Sat May 03 15:44:58 2008
On May 3, 2008, at 8:30 AM, Graham Cox wrote:
> Cocoa already coalesces updates in this way, so when drawRect: is
> called, the list of rects is the merged list.
>
> I does raise a question though - is there a way to get, at any point
> in time, the list of merged rects needing update from a view *at
> that point* - in other words, outside of a drawRect: call, can I
> found out what has been marked for update so far? That would be
> useful.
You may have to step down to CoreGraphics (CG) APIs. Perhaps
CGWaitForScreenRefreshRects or some other API would be helpful?
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
| Related mails | Author | Date |
|---|---|---|
| Graham Cox | May 2, 09:13 | |
| Kyle Sluder | May 2, 10:13 | |
| Graham Cox | May 2, 13:07 | |
| Jean-Daniel Dupas | May 2, 13:20 | |
| Jens Alfke | May 2, 17:27 | |
| Graham Cox | May 2, 17:30 | |
| Jean-Daniel Dupas | May 2, 18:04 | |
| Duncan | May 3, 05:40 | |
| Graham Cox | May 3, 06:51 | |
| Duncan | May 3, 13:36 | |
| Jean-Daniel Dupas | May 3, 13:57 | |
| Graham Cox | May 3, 14:52 | |
| Jean-Daniel Dupas | May 3, 15:22 | |
| Graham Cox | May 3, 15:30 | |
| Ricky Sharp | May 3, 15:44 | |
| Jean-Daniel Dupas | May 3, 15:55 | |
| Graham Cox | May 3, 16:11 |






Cocoa mail archive

