More minor updates to histogramming

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2992 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2005-03-19 03:15:44 +00:00
parent f22ef26f6f
commit 28a6661307

View File

@ -1078,6 +1078,7 @@ void QgsRasterLayerProperties::pbnHistRefresh_clicked()
myPainter.drawRect(myX+myYGutterWidth,myImageHeight-(myY+myXGutterHeight),myBarWidth,myY); myPainter.drawRect(myX+myYGutterWidth,myImageHeight-(myY+myXGutterHeight),myBarWidth,myY);
} }
//store this point in our line too //store this point in our line too
myY = myGraphImageHeight - myY;
myPointArray.setPoint(myBin, myX+myYGutterWidth, myY-myXGutterHeight); myPointArray.setPoint(myBin, myX+myYGutterWidth, myY-myXGutterHeight);
} }
//draw a line on the graph along the bar peaks; //draw a line on the graph along the bar peaks;