KoColor

Boudewijn Rempt boud at valdyas.org
Thu Dec 23 20:54:22 CET 2004


On Thu, 23 Dec 2004, Sven Langkamp wrote:

> KisGradient::Color should also be removed, it really annoyed me when trying to
> do something with the autogradient.

What is that for a thing? I'm drawing a blank here...

> Why are you not directly moving to KisColor? QColor is very similar to KoColor
> and does also not (yet) support an alpha channel.

Because I tend to do things in little steps, one problem at a time. I
contemplated moving directly to KisColor, but thought it would be to
invasive. It'll probably happen within a month or so.

The reason I'm using QColor is that I can depend on it being an rgb color
so I can easily do a quick lcms transform in the color strategies. The
transforms that are hard-coded in koColor are really bad, so I don't
want to depend on those at all.

That's all what I need to finish the lcms stuff; reworking to use KisColor
(basically a KisPixel that owns its quantums) can be done later.


More information about the kimageshop mailing list