printing: drawPageBorderWithSize
printing: drawPageBorderWithSize
- Subject: printing: drawPageBorderWithSize
- From: Ken Victor <email@hidden>
- Date: Thu, 13 Oct 2005 12:40:49 -0700
given that drawPageBorderWithSize doesn't seem to work properly in
10.4.2 when the user has chosen to scale output in the page setup
dialog, i'm curious as to how it is supposed to work. i'd like to
write some code that should "just work" when this bug is fixed,
assuming of course that it might be fixed soon.
when setting my frame as per the instructions in the documentation:
Once the old frame is saved, resize the body frame to a rect with
origin (0, 0) and a size equal to the incoming borderSize parameter.
This new frame now encompasses the margins instead of hiding them.
should the size of the new frame be scaled by my code? or should i
follow the instructions explicitly.
also, when drawing in the margins as provided by this newly set
frame, should i be scaling my drawing as well?
the reason i ask (what seem to be redundant/simple/rtfm questions is
because i seem to be getting inconsistant results. eg, it seems i
must scale my text and horizontal location, but not horizontal size
or vertical size or location.
thanx,
ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden