On Oct 26, 2009, at 1:10 PM, Jean-Daniel Dupas wrote:

What do you expect as rectangle ? drawRect: parameter is the smaller rectangle that contains all rect marked as dirty. If you want to exact list of dirty rects, you can query it using the -getRectsBeingDrawn:count: methods.

This is more specific and more correct than what I said (see my "in the general sense" comment, though). :-)

In practice, however, for an on-screen view, the dirty rects are usually the areas that are or have just become visible.

--
I.S.




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to