From koffice-devel Tue Oct 30 18:00:27 2007 From: Boudewijn Rempt Date: Tue, 30 Oct 2007 18:00:27 +0000 To: koffice-devel Subject: Re: Caching of shapes Message-Id: <200710301900.28981.boud () valdyas ! org> X-MARC-Message: https://marc.info/?l=koffice-devel&m=119376728616756 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1436241204==" --===============1436241204== Content-Type: multipart/signed; boundary="nextPart1953933.2jqxFMb0IK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1953933.2jqxFMb0IK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 30 October 2007, Johannes Simon wrote: > Am Dienstag, den 30.10.2007, 16:59 +0100 schrieb Thomas Zander: > > On Tuesday 30 October 2007 16:50:54 Boudewijn Rempt wrote: > > > The big problem if you cache the shape as a QPixmap per shape, you > > > will lose transparency when painting the shapes. > > > > AFAIK pixmaps can be transparent. > > Quote from doc.trolltech.com: > "Depending on the system, QPixmap is stored using a RGB32 or a > premultiplied alpha format. If the image has an alpha channel, and if the > system allows, the preferred format is premultiplied alpha." So we > apparently do have transparency support in a QPixmap. Oh -- cool! That must be pretty new. Now we only should know when the alpha= =20 channel is supported. =2D-=20 Boudewijn Rempt=20 http://www.valdyas.org/fading/index.cgi --nextPart1953933.2jqxFMb0IK 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) iD8DBQBHJ3E8daCcgCmN5d8RAorvAKCXkJr4a+8PgsioSYGDQeXmNXh+3ACfdkhQ RZCo10UnGygcRn9KxzZxmDg= =mytt -----END PGP SIGNATURE----- --nextPart1953933.2jqxFMb0IK-- --===============1436241204== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --===============1436241204==--