--===============0744848549== Content-Type: multipart/signed; boundary="nextPart5384941.SB2vP95FN5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart5384941.SB2vP95FN5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 shouldn't depend on libs/flake. This part of the shape selection code reall= y=20 needs untangling so all the shape-based parts can go into krita/ui. The ima= ge=20 part of krita doesn't need to know about the shapes, only about the graysca= le=20 rasterization of the shapes, similar to the way krita/image doesn't know=20 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= --=20 you can probably use that. =2D-=20 Boudewijn Rempt=20 http://www.valdyas.org/fading/index.cgi --nextPart5384941.SB2vP95FN5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBGdit9daCcgCmN5d8RAtkxAKDchCTW+z46HmvLTs17Vvv2PLDu3wCg9Gpn kTFW0360O62j1tpmtzigBHs= =fvUv -----END PGP SIGNATURE----- --nextPart5384941.SB2vP95FN5-- --===============0744848549== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============0744848549==--