From kde-kimageshop Fri Oct 24 20:53:14 2003 From: Patrick Julien Date: Fri, 24 Oct 2003 20:53:14 +0000 To: kde-kimageshop Subject: Re: KisPainter::bitBlt and CMYK X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=106702914115242 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. _______________________________________________ kimageshop mailing list kimageshop@mail.kde.org http://mail.kde.org/mailman/listinfo/kimageshop