find repaint areas?
find repaint areas?
- Subject: find repaint areas?
- From: Denis Bohm <email@hidden>
- Date: Wed, 7 May 2008 14:26:42 -0700
I am trying to create a buffered window and get notified whenever
areas are repainted so that I can also send those areas over the
network to a custom remote bitmap display. I don't want to copy the
complete buffered image on each update as that would be much too slow.
NSView has getRectsBeingDrawn which seems close. What I really want
is to hook into the code that is computing those rects. I assume this
is done in NSWindow displayIfNeeded. But I don't see where the damage
rects are stored.
Or maybe NSWindow flushWindowIfNeeded would work. But I don't see how
to get the rects that need to be copied to the screen.
Any ideas on how this could be done?
Denis
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden