KisPainter::bitBlt and CMYK

Patrick Julien freak at codepimps.org
Fri Oct 24 17:53:14 CEST 2003


On October 24, 2003 04:48 pm, Patrick Julien wrote:
> On October 24, 2003 04:41 pm, Boudewijn Rempt wrote:
> > Well, I think my color strategy is pretty well done for now; the only
> > problem seems to be that the bitBlt methods in KisPainter blithely assume
> > rgba. Is this where the previously unused nativecolour methods come into
> > their own, or do I do a switch for image type here?
>
> Switch on Image type?!?  no, well not directly this is all detailed in
> previous mails here, you need to use the color strategy, the point is to
> use flyweight to get back a strategy by passing it the KisPaintDevice.
>

You also need to add operations to the color strategy to combine colors of 
course.


More information about the kimageshop mailing list