DrawBar
DrawBar
Draws a histogram column as a filled rectangle.
void DrawBar(
const int x, // X coordinate
const int y, // Y coordinate
const int w, // width
const int h, // height
const uint clr, // color
)Parameters
- x
[in] X coordinate of the top left point of the rectangle.
- y
[in] Y coordinate of the top left point of the rectangle.
- w
[in] The width of the rectangle.
- h
[in] The height of the rectangle.
- clr
[in] The color of the rectangle.
Last updated on