[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdelibs/plasma
From: Olivier Goffart <ogoffart () kde ! org>
Date: 2009-03-18 18:07:58
Message-ID: 1237399678.692049.26326.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 941024 by ogoffart:
Backport 941021
Plasma::Svg: Round the drawing size to the pixmap size, otherwise we can get bad arctefacts.
(noticable on the eyes applet)
M +1 -1 svg.cpp
--- branches/KDE/4.2/kdelibs/plasma/svg.cpp #941023:941024
@@ -454,7 +454,7 @@
void Svg::paint(QPainter *painter, const QRectF &rect, const QString &elementID)
{
QPixmap pix(d->findInCache(elementID, rect.size()));
- painter->drawPixmap(rect, pix, QRectF(QPointF(0, 0), pix.size()));
+ painter->drawPixmap(QRectF(rect.topLeft(), pix.size()), pix, QRectF(QPointF(0, 0), pix.size()));
}
void Svg::paint(QPainter *painter, int x, int y, int width, int height, const QString &elementID)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic