| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I've got an NSImage (a file icon) I'm successfully drawing using
[[self image] drawInRect:imageRect
fromRect:theRect
operation:NSCompositeSourceOver
fraction:1.0];
Now I want to "select" it (like NSToolbar, the Finder, the Dock and everybody else does), which means making it darker. How should I do that, while preserving transparency? I've tried several combinations of operations and fractions, nothing did what I need.
andy
| References: | |
| >Darken image (From: Andreas Monitzer <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.