> On 05 Dec 2016, at 17:23, J.E. Schotsman <jesc...@xs4all.nl> wrote:
> 
> Hello,
> 
> I intend to increase contrast of inactive radio buttons a little because they 
> are hardly legible.
> The idea is to draw to a bitmap, increase contrast, draw to screen.
> To my surprise this already increases contrast without any manipulation of 
> the bitmap.
> What is going on here?

To answer my own question, I forgot to clear the bitmap each time before 
drawing.
Also the bitmap itself needs to be renewed each time in order to force 
regeneration of its CGImage.

Jan E.
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to