bool fill_rectangle(handle device, const irectangle* fill, handle brush)
This function fills a rectangle.
handle device
The handle of the device context.
const irectangle* fill
A pointer to the rectangle to be filled.
handle brush
The handle of the brush or a color value used to fill the rectangle.
bool
true | The function succeeded. |
false | The call failed. |
The top and left borders are included in the fill and the bottom and right borders are excluded from the fill.
The current position is neither used nor updated.