• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
find repaint areas?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: find repaint areas?
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: 8 Digit random number
  • Next by Date: Re: Multiple controls in a table cell
  • Previous by thread: Re: Getting an array/tree controller to select newly added managed objects
  • Next by thread: Re: find repaint areas?
  • Index(es):
    • Date
    • Thread