blend function urgently needed in kdelibs

Alex Merry huntedhacker at
Mon May 21 20:47:00 BST 2007

On Monday 21 May 2007, Matthew Woehlke wrote:
> kdelibs desperately needs a color blending function. I am
> volunteering (yet again) to provide one that looks like this:
> KColor blend(const KColor& c1, const KColor& c2,
>               double k = 0.5, double r = 0.5, SPEC cs = CS_RGB,
>               int flags = BLEND_NORMAL, int cmask = 0x0000FFFF);
> Can someone PLEASE suggest where I can put such a thing? (Due to lack
> of prior response, if I don't hear back by next Monday I'm going to
> /pick/ somewhere and people can bitch about it.)

From what I've seen from my wanderings around kdelibs, I'd say kdefx, 
home of things like KDrawUtil, KStyle and KPixmapEffect.

kdeui would be the other obvious place, but that seems to be more UI 

However, if someone more experienced has an opinion about it, I'd defer 
to them...


Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list