MPLAB® Harmony Graphics Suite > Graphics Library > Legato Graphics Library > Legato Interface > a) Common Functions > lePolarToXY Function
MPLAB® Harmony Graphics Suite
lePolarToXY Function
C
LIB_EXPORT leResult lePolarToXY(
    int32_t r, 
    int32_t a, 
    lePoint* p
);
Parameters
Parameters 
Description 
radius 
angle (in degrees) 
Returns

p - the output point in Cartesian plane

MPLAB® Harmony Graphics Suite