Fwd: My KImageEffect code

Richard Smith kde at metafoo.co.uk
Mon Nov 29 21:50:38 GMT 2004


On Friday 26 November 2004 20:41, Waldo Bastian wrote:
> I would suggest to take out everything that isn't really used/usable for
> KDE4. I haven't heared a huge outcry about how broken this stuff is (apart
> from the occasional bugreport)

Today I had cause to use KImageEffect::blend to blend two pixmaps together. 
It's documented as "Blend an image into another one, using alpha in the 
expected way." Only it doesn't use alpha in the expected way (result alpha is 
taken directly from one of the source images), so I had to fork it. I would 
have thought something like blend would be used enough that it would actually 
work... (especially since Qt seems to provide no way to blend two pixmaps 
without destroying the alpha channel).
-- 
Thanks,
Richard




More information about the kde-core-devel mailing list