• 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
rotating an image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rotating an image


  • Subject: rotating an image
  • From: Robert Miller <email@hidden>
  • Date: Wed, 27 Jun 2001 16:50:16 -0400
  • Organization: RFM & Associates

Hello fellow Cocoans,

I'm relatively new to Cocoa (but not the Mac) . I'm trying to
display an image in a scrollable view. I have it working correctly using
a subclassed custom view which contains an instance of NSImage, which is
the document view for an NSScrollerView. The question is how do I rotate
the image say 90 degrees and have it get displayed that way? Simply
rotating the bounds coordindate of the view container does not effect
the compositing of the image to the screen. The cocoa docs. make mention
of this in the NSImage section where "Coordinate Systems" is the topic,
stating that the image does not get affected by the current coordinate
settings. So how does one rotate an image then ??

Regards,
bob m.


  • Prev by Date: Re: autoreleasing NSBezierPath object
  • Next by Date: Opening Terminal App at path?
  • Previous by thread: Re: NSScrollView
  • Next by thread: Opening Terminal App at path?
  • Index(es):
    • Date
    • Thread