KColor is coming this Monday...

Simon Hausmann hausmann at kde.org
Sat May 26 09:59:26 BST 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070526/db0ca0dc/attachment.sig>


More information about the kde-core-devel mailing list