• 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
Re: -drawRect when running a print operation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >-drawRect when running a print operation (From: koko <email@hidden>)

  • Prev by Date: Re: Not Receiving Distributed Notifications Unless in Focus
  • Next by Date: help trouble shooting...maybe with resume?
  • Previous by thread: -drawRect when running a print operation
  • Next by thread: Not Receiving Distributed Notifications Unless in Focus
  • Index(es):
    • Date
    • Thread