Is there a way to get the color of a pixel or area of an NSView during
the drawRect method? I'll be tiling the view with a grid of random
colors but each tile is based on the colors around it. I'd prefer to
call something along the lines of:
NSColor *aColor = [myView colorAtPoint: somePoint];
Rather than creating and filling a potentially quite large array of
colors.
-Ashley
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]