More minor updates to histogramming

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

View File

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