blend function urgently needed in kdelibs
zander at kde.org
Mon May 21 21:19:15 BST 2007
On Monday 21 May 2007 21:31:45 Matthew Woehlke wrote:
> kdelibs desperately needs a color blending function.
It does? Who uses it? :)
Normal GUis should use the default colors and not blended ones. For most
other things, QColor:lighter() and darker() seem to do the trick...
> 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);
Would be nice to have more readable API with arguments that are not 1 or 2
characters to get a feeling of what it is you mean ;)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel