Skip to content
Permalink
Browse files

Correct some debug output formatting

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6348 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Dec 29, 2006
1 parent f6f9d48 commit 43169142762a318c7f3fcfcb7edb60df1a511f61
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/raster/qgsrasterlayer.cpp
@@ -1591,6 +1591,7 @@ void QgsRasterLayer::drawSingleBandGray(QPainter * theQPainter, QgsRasterViewPor
+ QString::number(paintXoffset) + ", " + QString::number(paintYoffset)\
+ " to "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.x() + 0.5))\
+ ", "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.y() + 0.5))\
+ ".");

@@ -2349,6 +2350,7 @@ QgsDebugMsg("QgsRasterLayer::drawSingleBandGray: painting image to canvas from "
+ QString::number(paintXoffset) + ", " + QString::number(paintYoffset)\
+ " to "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.x() + 0.5))\
+ ", "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.y() + 0.5))\
+ ".");

@@ -2482,6 +2484,7 @@ QgsDebugMsg("QgsRasterLayer::drawSingleBandGray: painting image to canvas from s
+ QString::number(paintXoffset) + ", " + QString::number(paintYoffset)\
+ " to "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.x() + 0.5))\
+ ", "\
+ QString::number(static_cast<int>(theRasterViewPort->topLeftPoint.y() + 0.5))\
+ ".");

0 comments on commit 4316914

Please sign in to comment.
You can’t perform that action at this time.