Re: Rotating an NSView before printing
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