MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria Graphics Utilities Library > Graphics Utilities Interface > a) Functions > GFX_DrawArc Function
MPLAB® Harmony Graphics Suite
GFX_DrawArc Function
C
LIB_EXPORT GFX_Result GFX_DrawArc(
    int32_t x, 
    int32_t y, 
    int32_t radius, 
    int32_t startAngle, 
    int32_t centerAngle
);
Parameters
Parameters 
Description 
the x component of the origin position 
the y component of the origin position 
radius 
the radius of the circle in pixels 
startAngle 
the starting angle, in degrees, of the arc 
centerAngle 
the center angle, in degrees, of the arc. A positive value draws CW while a negative value draws CCW. 
Returns

GFX_Result - Returns GFX_TRUE if the circle was drawn successfully. Otherwise returns GFX_FALSE.

MPLAB® Harmony Graphics Suite