KColor is coming this Monday...
Matt Rogers
mattr at kde.org
Sat May 26 17:01:36 BST 2007
On Saturday 26 May 2007 03:59, Simon Hausmann wrote:
> On Saturday 26 May 2007 09:54:38 Zack Rusin wrote:
> [...]
>
> > QColor KGraphicsUtils::blendColors(const QColor &one,
> > const QColor &two,
> > QPainter::CompositionMode mode =
> > QPainter::CompositionMode_SourceOver);
>
> IMHO that is a /much/ nicer API than
>
> KColor blend( const KColor& c1, const KColor& c2,
> double k = 0.5, double r = 0.5,
> BlendMode mode = BlendNormal,
> ColorSpec space = Rgb );
>
> Does kdevelop really /need/ to be able to specify k = 0.26452 and
> r = 0.7582394 in KDE 4.0.0?
>
It better not. If it does, then we've done something horribly wrong with our
user interface.
--
Matt
More information about the kde-core-devel
mailing list