blendColor that doesn't need additional setup code

Ingo Klöcker kloecker at kde.org
Tue May 29 22:48:41 BST 2007


On Tuesday 29 May 2007 09:23, Thomas Zander wrote:
> On Tuesday 29 May 2007 02:28:09 Aaron J. Seigo wrote:
> > does that make sense? =)
>
> Well, it confirms quite well what I said a couple of days ago;
> Ingo, you and Andreas all have different solutions for what to do
> with the alpha channel.
> Ingo even had an if/then solution in there to make the blending
> behave conceptually different depending on wheather there is an alpha
> channel set at all.

In fact, the if/then is just there to prevent a division by 0 and is the 
continuation of the case of identical non-zero alpha channels.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070529/90155668/attachment.sig>


More information about the kde-core-devel mailing list