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
Riccardo Iaconelli
4de7a36e29
The clock now shows (and moves) SVG hands. I had to do an hack on Plasma::Svg to make it work, it was doing strange things with the plasmoid painter, and especially its coordinate system, check the differences in lib/svg.cpp to see what changed.
...
Still have a couple of problems with hands other than second, and for the black thingy in the middle.
Too tired right now, will check (and hopefully fix) them again tomorrow.
Let's party though! The first (mostly) working plasmoid goes public! Yay!
CCMAIL:panel-devel@kde.org
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666767
2007-05-20 21:01:30 +00:00
Aaron J. Seigo
b8253cda5b
get rid of matrix removal for now so that things actually draw properly in graphicsitems
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666238
2007-05-19 08:32:22 +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
c3d0436084
less qt3_support
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=650622
2007-04-04 23:26:24 +00:00
Aaron J. Seigo
d7caba7c6f
this works, and i know it works, so the debug can go away for now so i can see other potentially important things in the output =)
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=643671
2007-03-18 06:57:48 +00:00
Aaron J. Seigo
34fbb0cefd
use KSvgRenderer so we also support svgz
...
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=640689
2007-03-08 20:14:34 +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