Re: Magnify anything on the screen?
Re: Magnify anything on the screen?
- Subject: Re: Magnify anything on the screen?
- From: Tim Andersson <email@hidden>
- Date: Sun, 23 Nov 2008 19:27:07 +0100
Thanks, I'll take a look at it (As soon as I've finished my
homework...).
Cheers,
Tim
23 nov 2008 kl. 18.55 skrev Kai:
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 (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden