Re: -drawRect when running a print operation
Re: -drawRect when running a print operation
- Subject: Re: -drawRect when running a print operation
- From: Fritz Anderson <email@hidden>
- Date: Tue, 23 Aug 2011 08:32:38 -0500
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 (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