MPLAB® Harmony Graphics Suite
|
Draws a rectangle using the coordinates: x,y x + width - 1, y
x, y + height - 1 x + width - 1, y + height - 1
LIB_EXPORT GFX_Result GFX_DrawRect( int32_t x, int32_t y, int32_t width, int32_t height );
Parameters |
Description |
x |
the x position of the top left point of the rectangle |
y |
the y position of the top left point of the rectangle |
width |
the width of the rectangle in pixels |
height |
the height of the rectangle in pixels |
GFX_Result - Returns GFX_TRUE if the rectangle was drawn successfully. Otherwise returns GFX_FALSE.
MPLAB® Harmony Graphics Suite
|