NSReadPixel on a QCView
NSReadPixel on a QCView
- Subject: NSReadPixel on a QCView
- From: Aaron Tuller <email@hidden>
- Date: Tue, 10 May 2005 17:59:48 -0700
Anyone have any good ideas on how to read the color at a point in a
Quartz Composer view?
I tried, though I figured it wouldn't work and it didn't, locking
focus on the view using it the "normal" NSView way. I also tried
init'ing a NSBitmapImageRep with the QCView, same deal.
I couldn't find a good patch in Quartz Composer to get the color at a
point. did i just miss it?
Why do I want to do this? I want to provide eyedropper like
functionality for the view, so if the user clicks on the picture at a
certain point, I can use that color for something else.
Thanks!
-aaron
_______________________________________________
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