Re: NSImage glowing
Re: NSImage glowing
- Subject: Re: NSImage glowing
- From: Alex Zavatone <email@hidden>
- Date: Tue, 04 Nov 2014 14:18:47 -0500
I can't see the image, but what about a gaussian blur on a white outline of the icon with a 20% white UIColor on the background with a 5 pixel blur radius?
Dropbox is blocked from my current location
Sent from my iPad. Please pardon typos.
On Nov 4, 2014, at 1:41 PM, Alex Kac <email@hidden> wrote:
> I have an NSImage that looks like in a mini-toolbar - kind of like Xcode.
>
> Now of course I can just create a hand-drawn selected version, but I like doing things like that in code. So I’d like to have code that takes the NSImage and makes it glow like Xcode here:
> https://www.dropbox.com/s/by642iw7xosnki7/Screenshot 2014-11-04 11.40.18.png?dl=0
>
> I’ve Googled this and I see a bunch of stuff, that I can’t get working at all. Most articles were for iOS and some repsonders even said “if I was using an NSImage, this would be easy - but for iOS you do…”.
>
> So… can anyone point me to the right place?
>
> _______________________________________________
>
> 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