Commit Graph

61 Commits

Author SHA1 Message Date
Matt Williams
cb00c95058 Small changes which were niggling at me :)
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666833
2007-05-21 00:30:36 +00:00
David Faure
5f1db42cca should be const
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666821
2007-05-20 23:31:44 +00:00
Aaron J. Seigo
cb2e8721a5 * Plasma::Svg::resize() to use the default size of the SVG
* make the clock use that size

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666807
2007-05-20 22:56:38 +00:00
Aaron J. Seigo
f88f9ed076 add a missing bit of obvious api.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666798
2007-05-20 22:39:38 +00:00
Aaron J. Seigo
48db336a07 allow to pass in an alternative matrix to SVG::paint in case you don't want the painter's matrix to be used in rendering the svg; this happens when the Scene has matrix and then the painter is transformed further to adjust that specific painting event. for things like the clock, it also allows us to properly use the pixmapcache.
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666794
2007-05-20 22:30:41 +00:00
Aaron J. Seigo
520553079a PLASMA_EXPORT
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666752
2007-05-20 20:13:46 +00:00
Aaron J. Seigo
a9ebfb6a14 * allow painting of given elements
* find the size of an element (given the current size of the Plasma::Svg)

svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666140
2007-05-18 22:05:00 +00:00
Pino Toscano
7bed85b467 these forward declarations are needed as well
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=657021
2007-04-22 23:04:47 +00:00
Pino Toscano
d8c17250ce header cleanup
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=656747
2007-04-22 09:35:04 +00:00
Aaron J. Seigo
f66f973917 install the svg.h header so people can use it
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=644234
2007-03-19 15:54:54 +00:00
Aaron J. Seigo
5cfabdc869 Plasma::Svg debuts. it is an image centric wrapper around QSvgRenderer that takes care of things such as:
* caching rendered pixmaps
* looking up the images from the Plasma::Theme
* scheduling needed updates, e.g. when the plasma theme changes


svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=640418
2007-03-07 23:27:37 +00:00