[Kstars-devel] KDE/kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Fri Sep 28 07:25:37 CEST 2007


SVN commit 718073 by harris:

(optionally) use antialiased drawing when exporting the sky display to
an image.

CCMAIL: kstars-devel at kde.org



 M  +1 -0      skymapdraw.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/skymapdraw.cpp #718072:718073
@@ -573,6 +573,7 @@
 void SkyMap::exportSkyImage( QPaintDevice *pd ) {
     QPainter p;
     p.begin( pd );
+    p.setRenderHint(QPainter::Antialiasing, Options::useAntialias() );
 
     //scale image such that it fills 90% of the x or y dimension on the paint device
     double xscale = double(p.device()->width()) / double(width());


More information about the Kstars-devel mailing list