[Panel-devel] SVG render size patch
Aaron J. Seigo
aseigo at kde.org
Mon May 28 20:51:00 CEST 2007
On Monday 28 May 2007, Matt Williams wrote:
> 1) When the Svg is rendered, it is always rendered to its native
> resolution. Then, you can scale it up by passing a larger QRectF to
this wasn't a design decision, it's just a plain ol' bug where the difference
between the svg's size and the size we're going to paint it wasn't taken into
consideration. this obviously only affects the painting when doing a specific
element in the svg.
i think your fix is right, though probably it makes more sense to move the
method to the Private class and call that method from the public api,
avoiding the Svg* q; member in the private class ...
> 2) The second problem, and the one that must be fixed was likely caused
this fix looks good
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070528/d59d1da8/attachment.pgp
More information about the Panel-devel
mailing list