• 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
Printing and view bounds
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing and view bounds


  • Subject: Printing and view bounds
  • From: Alexander Cohen <email@hidden>
  • Date: Fri, 02 Nov 2007 13:01:46 -0400

Hi,

When i start printing a view using the normal AppKit simple printing achitecture and my view receives a drawRect message, will its bounds be set up to the size of the paper or will its bounds still be setup to it's size in the window?

Im asking because i have a view that calculates its layout on frame changes. And when i get a print message, i need to recalculate my layout in order for it to print correctly. But when printing is done, my layout is not good anymore since i recalculated for the print page and not the window.

What do people usually do to print out a view that has complicated layout and will not be laid out the same way when printed than on screen?

thanks

AC
_______________________________________________

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


  • Prev by Date: Re: Best practice for hidden keyboard shortcuts
  • Next by Date: NSReadPixel crash
  • Previous by thread: Deallocating Core Data objects in a document-based app
  • Next by thread: NSReadPixel crash
  • Index(es):
    • Date
    • Thread