mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
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:
parent
f22ef26f6f
commit
28a6661307
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user