Skip to content

Commit

Permalink
Map canvas is now antialieased.....oooer....
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@4655 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 12, 2006
1 parent 169f5f6 commit fd3031a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -554,6 +554,7 @@ void QgsMapCanvas::render(QPaintDevice * theQPaintDevice)
{
mCanvasProperties->pmCanvas->fill(mCanvasProperties->bgColor);
paint->begin(mCanvasProperties->pmCanvas);
paint->setRenderHint(QPainter::Antialiasing);
myHeight=height();
myWidth=width();
}
Expand All @@ -574,6 +575,7 @@ void QgsMapCanvas::render(QPaintDevice * theQPaintDevice)
}
//initialise the painter
paint->begin(theQPaintDevice);
paint->setRenderHint(QPainter::Antialiasing);
}
// hardwire the current extent for projection testing
// mCanvasProperties->currentExtent.setXmin(-156.00);
Expand Down

0 comments on commit fd3031a

Please sign in to comment.