[Kst] extragear/graphics/kst/kst
Andrew Walker
arwalker at sumusltd.com
Tue Dec 20 22:06:34 CET 2005
SVN commit 490121 by arwalker:
honour the _transparent property by filling the background when printing/exporting if necessary
M +5 -0 kstviewlegend.cpp
--- trunk/extragear/graphics/kst/kst/kstviewlegend.cpp #490120:490121
@@ -253,6 +253,11 @@
adjustSizeForText(p.window());
p.setViewport(geometry());
p.setWindow(0, 0, geometry().width(), geometry().height());
+
+ if (!_transparent) {
+ p.fillRect(p.window(), backgroundColor());
+ }
+
drawToPainter(p);
p.restore();
} else {
More information about the Kst
mailing list