[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KColor is coming this Monday...
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2007-05-26 8:59:26
Message-ID: 200705261059.33396.hausmann () kde ! org
[Download RAW message or body]


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?

Simon

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic