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

Re: drawing image


  • Subject: Re: drawing image
  • From: Ricky Sharp <email@hidden>
  • Date: Mon, 4 May 2009 19:47:55 -0500


On May 4, 2009, at 6:45 PM, Mike Manzano wrote:

It's inverted because of differences in coordinate systems between the image and the view it's being draw into.

Before you draw the image, invert it:

[[self image] setInverted:YES] ;


Before doing that, you should first ask the cell's view if it's flipped (see isFlipped).

Cells can be contained by views in which isFlipped will return different results.

___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >drawing image (From: Livio Isaia <email@hidden>)
 >Re: drawing image (From: Mike Manzano <email@hidden>)

  • Prev by Date: Re: Custom log file for NSLog
  • Next by Date: Re: Newbie question about non-document-based app
  • Previous by thread: Re: drawing image
  • Next by thread: UIWebView w/o the scrolling?
  • Index(es):
    • Date
    • Thread