Plasma::Svg::paint

Aaron J. Seigo aseigo at kde.org
Wed May 4 12:09:12 CEST 2011


On Wednesday, May 4, 2011 00:06:26 Alex Merry wrote:
> My question is: what is intended to happen here?  bubblemon was assuming

if the Svg containsMultipleImages, then the element should be scaled to the 
Svg's size. if the Svg does not containMultipleImages, then the elements 
should be scaled relative to the Svg's size (e.g. what bubblemon expects). 

this is why Plasma::IconWidget::setSvg, which the system tray uses, has this 
line:

d->iconSvg->setContainsMultipleImages(!elementId.isNull());

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110504/4fefa49d/attachment-0001.sig 


More information about the Plasma-devel mailing list