[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Vector/Shape Selection
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2007-06-18 6:51:35
Message-ID: 200706180851.41389.boud () valdyas ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Saturday 16 June 2007, Sven Langkamp wrote:
> There is a better way. I followed Thomas advise and made the shape
> selection a KoShapeContainer so no shape manager and no canvas is
> needed anymore.
>
> At the moment I have two issues where the shape selection doesn't fit
> into the current system: The container and selection shapes need to be
> added to the shape controller, but the paintdevice doesn't have acess
> to that.
Yes, well, the paint device is in krita/image -- and that part of krita
shouldn't depend on libs/flake. This part of the shape selection code really
needs untangling so all the shape-based parts can go into krita/ui. The image
part of krita doesn't need to know about the shapes, only about the grayscale
rasterization of the shapes, similar to the way krita/image doesn't know
anything about shape layers, but can still composit them in the image.
> The second problem is that the selection doesn't know about the image,
> but the shape selection needs it for the rasterization with kispainter
> and resolution.
The selection has a parent paint device, which has a reference to the image --
you can probably use that.
--
Boudewijn Rempt
http://www.valdyas.org/fading/index.cgi
["signature.asc" (application/pgp-signature)]
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://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