Searched refs:a1_p (Results 1 – 2 of 2) sorted by relevance
/lvgl-2.7.6/src/lv_misc/ |
D | lv_area.c | 113 bool _lv_area_intersect(lv_area_t * res_p, const lv_area_t * a1_p, const lv_area_t * a2_p) in _lv_area_intersect() argument 116 res_p->x1 = LV_MATH_MAX(a1_p->x1, a2_p->x1); in _lv_area_intersect() 117 res_p->y1 = LV_MATH_MAX(a1_p->y1, a2_p->y1); in _lv_area_intersect() 118 res_p->x2 = LV_MATH_MIN(a1_p->x2, a2_p->x2); in _lv_area_intersect() 119 res_p->y2 = LV_MATH_MIN(a1_p->y2, a2_p->y2); in _lv_area_intersect() 135 void _lv_area_join(lv_area_t * a_res_p, const lv_area_t * a1_p, const lv_area_t * a2_p) in _lv_area_join() argument 137 a_res_p->x1 = LV_MATH_MIN(a1_p->x1, a2_p->x1); in _lv_area_join() 138 a_res_p->y1 = LV_MATH_MIN(a1_p->y1, a2_p->y1); in _lv_area_join() 139 a_res_p->x2 = LV_MATH_MAX(a1_p->x2, a2_p->x2); in _lv_area_join() 140 a_res_p->y2 = LV_MATH_MAX(a1_p->y2, a2_p->y2); in _lv_area_join() [all …]
|
D | lv_area.h | 161 bool _lv_area_intersect(lv_area_t * res_p, const lv_area_t * a1_p, const lv_area_t * a2_p); 169 void _lv_area_join(lv_area_t * a_res_p, const lv_area_t * a1_p, const lv_area_t * a2_p); 186 bool _lv_area_is_on(const lv_area_t * a1_p, const lv_area_t * a2_p);
|