From kde-panel-devel Mon Oct 06 20:47:06 2008 From: Rafael =?iso-8859-15?q?Fern=E1ndez_L=F3pez?= Date: Mon, 06 Oct 2008 20:47:06 +0000 To: kde-panel-devel Subject: Re: Plasma::Svg question Message-Id: <200810062247.08947.ereslibre () kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=122332606820231 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1264178613==" --===============1264178613== Content-Type: multipart/signed; boundary="nextPart3423596.GkgJJF5lGv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3423596.GkgJJF5lGv Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, > you can also call setOpacity on the QPainter directly, but that can *very* > slow and that above method is usually faster, and at worst the same speed. Aaron explained it pretty well, and please, don't use setOpacity (as also=20 Aaron did suggest). I want to put emphasis here... since setOpacity disable= s=20 all the hardware acceleration (as Fredrik said: "the kiss of death"). Check= =20 out this techbase tutorial for further information: http://techbase.kde.org/Development/Tutorials/Graphics/Performance Regards, Rafael Fern=E1ndez L=F3pez. --nextPart3423596.GkgJJF5lGv 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) iD8DBQBI6nlMck5Abj8B0HARAv0oAJ0aYUJdICs3iwxvAwiIIX3RLsMTyQCglAVy hIbHPdeGyrQS/+MEXXuz/KA= =qV4Y -----END PGP SIGNATURE----- --nextPart3423596.GkgJJF5lGv-- --===============1264178613== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============1264178613==--