Skip to content
Permalink
Browse files

Correct some debug output formatting

git-svn-id: http://svn.osgeo.org/qgis/trunk@6348 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Dec 29, 2006
1 parent 8ca23be commit 8a47a2a75fd7a311a587dc49f7854e6a33aa8b6f
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 8a47a2a

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