Non-proportional scaling during printing
Non-proportional scaling during printing
- Subject: Non-proportional scaling during printing
- From: George Lawrence Storm <email@hidden>
- Date: Tue, 28 Sep 2004 10:53:17 -0700
Before I have to invent one Is there a standard method of
non-proportional scaling for printing?
NSPrintScalingFactor applies to both axis.
What I need to do is scale in one direction with a slightly different
scaling factor than the other. I need to do this because some printers
are not truly proportional and I need to reproduce my final printed
output accurately proportioned. I will be printing a NSView with
several sub views so scaling in my drawing method is not my preferred
option as it would involve repositioning all my sub views and
overriding all their drawRect's.
If I cannot find a more strait forward method I am contemplating
"printing" to a PDF, using that PDF to create an NSImageView, scaling
that view and printing from it. It is a lot of extra steps I would like
to avoid. I am also worried about any distortions which might occur
(especially with text).
-----
George Lawrence Storm
Macintosh Applications Development
Snohomish (Seattle), Washington
E-mail: <email@hidden>
_______________________________________________
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