What to do about KColor?
Simon Hausmann
hausmann at kde.org
Wed May 30 16:23:28 BST 2007
On Wednesday 30 May 2007 17:11:44 Hans Meine wrote:
> Hi Matthew!
>
> Am Mittwoch, 30. Mai 2007 16:47:07 schrieb Matthew Woehlke:
> > It seemed to me that several people expected that. It's also what you do
> > when making bands in gradients.
> >
> > > IMO, the term "blending" refers to alpha blending only, which is a
> > > specific type of "overlay[ing]" (cf. OverlayMode).
> >
> > I suggested providing both. I would be happy to have:
> > mix[Colors](QColor,QColor,<amount>)
> > - and -
> > overlay[Colors](QColor,QColor,<composite mode>)
> >
> > I guess that's more clear than either being named 'blend'?
>
> Yes, I would vote for exactly the two signatures above. :-)
/me agrees with Matthew, too (and /me apologizes for his earlier rant mail in
the thread where Matthew was right, too, about the second argument being
useful/needed for blend/mix).
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/20070530/cd3e07f5/attachment.sig>
More information about the kde-core-devel
mailing list