Commit graph

8 commits

Author SHA1 Message Date
Pino Toscano 4913076ee9 extract in an own static function te calculation of a rotation matrix from both source and destination rotations
svn path=/trunk/KDE/kdegraphics/okular/; revision=708049
2007-09-03 18:16:27 +00:00
Pino Toscano 26857d5433 SVN_SILENT don't allocate a matrix in the rare case there's no need for it
svn path=/trunk/KDE/kdegraphics/okular/; revision=688310
2007-07-15 18:43:06 +00:00
Albert Astals Cid 723c3a482a move rotationjob.h to rotationjob_p.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=683286
2007-07-04 14:39:52 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Pino Toscano 36b894c75a Create a (private) PageController that handles the rotation jobs from all the pages.
This removes the needs for Page to be a QObject (it's the PageController that connects to the jobs and emits the right signals), so it again a "cheap" object.

svn path=/trunk/playground/graphics/okular/; revision=646010
2007-03-24 10:47:22 +00:00
Pino Toscano 4b922367e2 Use a proper enum to deal with orientation/rotation all around okular.
svn path=/trunk/playground/graphics/okular/; revision=620312
2007-01-05 17:09:47 +00:00
Tobias Koenig a490cc0cd7 Add the following functionality:
* Bring QPixmap* back to make Albert happy ;)
 * Store only one QPixmap per page/size and rotate it directly
 * Rotate ObjectRects (boundary)
 * Rotate Annotations (point coordinates)
 * Don't reload pixmaps, ObjectRects and annotations on rotation

svn path=/trunk/playground/graphics/okular/; revision=606371
2006-11-20 07:53:32 +00:00
Tobias Koenig bea71df6e0 * Made image rotation asynchronous
* Changed Page API and PagePainter to work only with QImage

svn path=/trunk/playground/graphics/okular/; revision=601581
2006-11-03 17:57:32 +00:00