• 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
Re: Rotating an NSView before printing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rotating an NSView before printing


  • Subject: Re: Rotating an NSView before printing
  • From: Matt Neuburg <email@hidden>
  • Date: Sat, 28 Apr 2007 09:27:11 -0700
  • Thread-topic: Rotating an NSView before printing

On Sat, 28 Apr 2007 09:16:30 -0400, "James Williams" <email@hidden>
said:
>silly, I'm trying to write a program to create and print envelopes

>Unfortunately, when I draw it to the printer, it's oriented wrong. My little
>ink jet prints envelopes long ways, so I need to rotate what I'm printing by
>90 degrees around the center in a clockwise direction

I've written an envelope-printing program, and my printer, too, prints
envelopes "long ways"; but I didn't find any need to rotate anything. When
the user chooses File > Print Setup, the dialog presents an opportunity to
perform the rotation. Thus there is no need for the code to do anything
different; the transform is taken care of for you by the printing
architecture. m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Nesting NSImageView inside NSScrollView
  • Next by Date: Re: NSTextView's "data" binding
  • Previous by thread: Re: Rotating an NSView before printing
  • Next by thread: NSTextView's "data" binding
  • Index(es):
    • Date
    • Thread