Fwd: My KImageEffect code

Michael Pyne pynm0001 at comcast.net
Tue Nov 30 02:02:03 GMT 2004


On Monday 29 November 2004 04:50 pm, Richard Smith wrote:
> (especially since Qt seems to provide no way to blend two
> pixmaps without destroying the alpha channel).

Annoying as hell, isn't it?

KIconEffect::overlay() I think would work for what you're talking about, but 
the images have to be the same size.  If it's not the same size, you have 
some more work cut out for you, but you can look at 
kdemultimedia/juk/systemtray.cpp to see how I solved that problem.

Regards,
 - Michael Pyne




More information about the kde-core-devel mailing list