On 22 Aug 2011, at 4:32 PM, koko wrote:

> The rect I get  in drawRect is not the same size as the rect I return in 
> rectForPage ... is this expected behavior?

Assuming you mean -drawRect:, the NSRect parameter must be assumed never to 
cover the whole content of a view. It's a "dirty" rectangle that the system 
requests be redrawn, which may not include everything.

        — F

_______________________________________________

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