• 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: How to draw a rotated image in a view?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to draw a rotated image in a view?


  • Subject: Re: How to draw a rotated image in a view?
  • From: Philippe Heinrich Regenass <email@hidden>
  • Date: Tue, 3 Oct 2006 19:21:20 +0200

hi
can i use the equal methode to rotate a nstextfield? i have rotate the textfield but the content was cuted...


best regards

philippe


Am 03.10.2006 um 17:53 schrieb Fei Li:

Thank you very much for your reply.

I got it. I create a NSView, transform it's coordinate, draw the image in it's drawRect, then print the view out.

Thanks again.
On Oct 2, 2006, at 10:47 AM, Shawn Erickson wrote:

On 10/2/06, Fei Li <email@hidden> wrote:
Hello all,
I'd like to print a NSImage object, but its size made it'd better to
be printed out by rotate 90 degree. I create a NSView (or a
NSImageView if it works) and would like draw the rotated image into
that view, then print that view out. If anybody know a good way to do
that?

Apple has good documentation on this search for it, in particular...

<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaDrawingGuide/Transforms/chapter_4_section_3.html>

-Shawn

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40treeinspired.ch


This email sent to 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
References: 
 >How to draw a rotated image in a view? (From: Fei Li <email@hidden>)
 >Re: How to draw a rotated image in a view? (From: "Shawn Erickson" <email@hidden>)
 >Re: How to draw a rotated image in a view? (From: Fei Li <email@hidden>)

  • Prev by Date: Re: How do I know when my Core Data app is up and running?
  • Next by Date: Re: When do I have to update the typing attributes?
  • Previous by thread: Re: How to draw a rotated image in a view?
  • Next by thread: Re: How to draw a rotated image in a view?
  • Index(es):
    • Date
    • Thread