[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/kolourpaint/pixmapfx
From:       Clarence Dang <dang () kde ! org>
Date:       2007-10-03 5:25:34
Message-ID: 1191389134.031479.23979.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 720460 by dang:

Fix transforms (except that a -90 degree rotation of tests/transforms.png, followed \
by Undo nukes most of the transparency -- will investigate after this commit):

* Fix flipping and rotating-by-multiples-of-90-degrees being off by 1 pixel,
  by using QPixmap::trueMatrix() and for flipping, using TransformPixmap()
  instead of QPixmap::transformed()

* Use the abstract kpPixmapFX::draw() pattern to not ruin the no-alpha-channel
  invariant in TransformPixmap() [previously called xForm()]

* Verify that all of this file has been ported to Qt4 and fix style, comments etc.

This took hours and hours to write and debug (and I still have more debugging to do \
as per above) so I hope you like it :)


 M  +339 -47   kpPixmapFX_Transforms.cpp  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic