blend function urgently needed in kdelibs

Matthew Woehlke mw_triad at users.sourceforge.net
Mon May 21 20:48:16 BST 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.)

In fact, unless someone says otherwise it's going in 
kdeui/kernel/kcolor.* on 5/28.

-- 
Matthew
When in doubt, duct tape!





More information about the kde-core-devel mailing list