Hi,

if you’re on Leopard only, you can use the new screen capturing APIs to capture the screen area you need (look for the SonOfGrab sample code). I’d say magnifying the captured pixels is left to you. Some carefully chosen scale factor during drawing together with disabled anti-aliasing might work.

Kai

On 23.11.2008, at 17:03, Tim Andersson wrote:

Hi guys.

I'm currently working on my own custom color picker, and it's all going well. However, I need to replicate the magnifying function found in a NSColorPanel. I think I've figured out how to capture mouse-events anywhere on the screen, but I don't know how I would go about to "magnify" what's beneath the cursor. Any help is greatly appreciated.

Kind regards,
Tim
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/kai%40granus.net

This email sent to [EMAIL PROTECTED]

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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]

Reply via email to