Reflecting a QPixmap ?

Thomas Zander zander at kde.org
Sun Aug 5 08:20:29 BST 2007


On Saturday 04 August 2007 20:02:16 John Tapsell wrote:
>   Does anyone know if I can reflect a QPixmap, without doing the
> horribly slow conversion to a QImage first?  I want to reflect a
> QPixmap around the x-axis.  On my system it takes between 20ms to
> 100ms to use transformation.

I'm betting you won't have an animation or otherwise time constrained 
usage of this, since you'd convert to a QImage first if you did.

Why not use ThreadWeaver to do the rotate and repaint when that transform 
is fully done?

-- 
Thomas Zander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070805/4ababea3/attachment.sig>


More information about the kde-core-devel mailing list