33 #ifndef GUI_HDR_MATH_H 34 #define GUI_HDR_MATH_H 41 #include "gui_utils.h" 55 uint8_t
gui_math_centerofxy(
float x1,
float y1,
float x2,
float y2,
float*
const resultx,
float*
const resulty);
uint8_t gui_math_sqrt(float x, float *const result)
Calculate square of input value.
Definition: gui_math.c:46
uint8_t gui_math_centerofxy(float x1, float y1, float x2, float y2, float *const resultx, float *const resulty)
Calculate center XY coordinate between 2 XY points.
Definition: gui_math.c:115
uint8_t gui_math_rsqrt(float x, float *const result)
Calculate reverse square of input value.
Definition: gui_math.c:64
uint8_t gui_math_distancebetweenxy(float x1, float y1, float x2, float y2, float *const result)
Calculate distance between 2 XY points.
Definition: gui_math.c:95