Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image representation



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.