I'm currently working on a visualizer plugin for iTunes.
I have most of it working, but i need a way to draw a transparent black rectangle. (For a nice fade-out effect)
I haven't been able to find what I need in any of the API references - That is, I'm not sure if I should have 2 large bitmaps (one all black, one light grey as an alpha channel) and call CopyMask, or wether I should do something with CoreGraphics (in which case I don't know where to start, I haven't used any of OSX's "Core" APIs yet.
Any help would be greatly appreciated.
I have most of it working, but i need a way to draw a transparent black rectangle. (For a nice fade-out effect)
I haven't been able to find what I need in any of the API references - That is, I'm not sure if I should have 2 large bitmaps (one all black, one light grey as an alpha channel) and call CopyMask, or wether I should do something with CoreGraphics (in which case I don't know where to start, I haven't used any of OSX's "Core" APIs yet.
Any help would be greatly appreciated.