On Monday 22 September 2008 02:04:04 Robert Knight wrote: > Fredrik has answered this one on techbase: > > http://techbase.kde.org/Development/Tutorials/Graphics/Performance#QPainter >::setOpacity.28.29
This changes the opacity of the start pixmap, while I want to decrease opacity just for that single painting operation, keeping the cached pixmap intact. So the two options are: a) create a copy of the cached pixmap and use the above trick on it. b) use QPainter::setOpacity() Which one is the cheapest? -Riccardo -- GPG key: 3D0F6376 When encrypting, please encrypt also for this subkey: 9EBD7FE1 ----- Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平 Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch שלום Shanti Vrede Baris Rój Mír Taika Rongo Sulh Mir Py'guapy 평화 _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel