--===============2055406891== Content-Type: multipart/signed; boundary="nextPart1535495.3ZFGBJ7B9J"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1535495.3ZFGBJ7B9J Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 06 July 2005 13:31, Michael Thaler wrote: > Hello, > > I want to port the Cubism filter from gimp to Krita. The filter uses a > polygon class. This class just stores points as double values and can > rotate the polygon and translate the polygon. Is there any class that > already does this in QT, KDE or Krita? If not it is simple to write this > class, but I think it is more of more general use. Where should I put it > then? In krita/core? I'm not sure; QPoinArray together with QWMatrix does what you need, except= =20 only with ints. You'd need a vector of KisPoints -- which we have, KisVec,= =20 and transform/translate function. So, there are a number of components=20 already, but the whole is lacking. =2D-=20 Boudewijn Rempt=20 http://www.valdyas.org/fading/index.cgi --nextPart1535495.3ZFGBJ7B9J Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBCy9SNdaCcgCmN5d8RAkdcAKC82w78H3chx/xh4P2dCFKDfc+nogCffx+/ l44S1oFuSRcoBouu5N4ZGsE= =NUTa -----END PGP SIGNATURE----- --nextPart1535495.3ZFGBJ7B9J-- --===============2055406891== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============2055406891==--