[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: KisPainter::bitBlt and CMYK
From: Patrick Julien <freak () codepimps ! org>
Date: 2003-10-24 20:53:14
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic