Skip to content

Commit bca2e9c

Browse files
author
g_j_m
committedJul 8, 2006
Further mods to work-around the problem in ticket #83
git-svn-id: http://svn.osgeo.org/qgis/trunk@5571 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9d4766b commit bca2e9c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/gui/qgsmapcanvasmap.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ void QgsMapCanvasMap::render()
7474
mPixmap.fill(mBgColor.rgb());
7575
QPainter paint;
7676
paint.begin(&mPixmap);
77+
// Clip our drawing to the QPixmap
78+
paint.setClipRect(mPixmap.rect());
7779
mRender->render(&paint);
7880
paint.end();
7981
}

0 commit comments

Comments
 (0)
Please sign in to comment.