• 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
Image representation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image representation


  • Subject: Image representation
  • From: Livio Isaia <email@hidden>
  • Date: Fri, 29 Sep 2006 20:25:44 +0200

I have an NSImageView displaying an image and I want to check the pixel color at specified point with [representation colorAtX:pt.x y:pt.y].
For special purposes I get the representation with initWithFocusedViewRect:;
now: the resulted representation seems to have the image upside down, I mean the top of the image seems to be at the bottom in the representation and so to get the color for point (0, 0) I must check point (0, height). Is this normal? How can I rotate the representation?


Thanks in advance.
livio
_______________________________________________
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


  • Prev by Date: Re: Help Book not working
  • Next by Date: Re: Removed view still getting events
  • Previous by thread: Re: NSimage leaking memory or probably just me
  • Next by thread: Re: NSLayoutManager looping with custom NSTextContainer
  • Index(es):
    • Date
    • Thread