Printing and view bounds
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