• 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
Non-proportional scaling during printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: binding (converting call from Objective-C to Java
  • Next by Date: Re: NSSearchField sub menu weirdness
  • Previous by thread: Re: binding (converting call from Objective-C to Java
  • Next by thread: NSTableView selectedRow
  • Index(es):
    • Date
    • Thread