[Kstars-devel] KDE/kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Mon Jan 23 16:09:39 CET 2006
SVN commit 501631 by harris:
Well, this was supposed to enable antialiased drawing, but it doesn't
seem to have worked.
CCMAIL: kstars-devel at kde.org
M +1 -0 skymapdraw.cpp
M +1 -0 skymapevents.cpp
--- trunk/KDE/kdeedu/kstars/kstars/skymapdraw.cpp #501630:501631
@@ -50,6 +50,7 @@
void SkyMap::drawOverlays( QPixmap *pm ) {
if ( ksw ) { //only if we are drawing in the GUI window
QPainter p;
+ p.setRenderHint(QPainter::Antialiasing);
p.begin( pm );
showFocusCoords( true );
--- trunk/KDE/kdeedu/kstars/kstars/skymapevents.cpp #501630:501631
@@ -763,6 +763,7 @@
// bool drawCBounds( Options::showCBounds() &&!(checkSlewing && Options::hideCBounds() ) );
// bool drawGrid( Options::showGrid() && !(checkSlewing && Options::hideGrid() ) );
+ psky.setRenderHint(QPainter::Antialiasing);
psky.begin( sky );
psky.fillRect( 0, 0, width(), height(), QBrush( data->colorScheme()->colorNamed( "SkyColor" ) ) );
More information about the Kstars-devel
mailing list