Home
last modified time | relevance | path

Searched refs:a_p (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.5.0/src/misc/
Dlv_area.c167 bool _lv_area_is_point_on(const lv_area_t * a_p, const lv_point_t * p_p, lv_coord_t radius) in _lv_area_is_point_on() argument
171 if((p_p->x >= a_p->x1 && p_p->x <= a_p->x2) && ((p_p->y >= a_p->y1 && p_p->y <= a_p->y2))) { in _lv_area_is_point_on()
181 lv_coord_t w = lv_area_get_width(a_p) / 2; in _lv_area_is_point_on()
182 lv_coord_t h = lv_area_get_height(a_p) / 2; in _lv_area_is_point_on()
190 corner_area.x1 = a_p->x1; in _lv_area_is_point_on()
191 corner_area.x2 = a_p->x1 + radius; in _lv_area_is_point_on()
192 corner_area.y1 = a_p->y1; in _lv_area_is_point_on()
193 corner_area.y2 = a_p->y1 + radius; in _lv_area_is_point_on()
200 corner_area.y1 = a_p->y2 - radius; in _lv_area_is_point_on()
201 corner_area.y2 = a_p->y2; in _lv_area_is_point_on()
[all …]
Dlv_area.h195 bool _lv_area_is_point_on(const lv_area_t * a_p, const lv_point_t * p_p, lv_coord_t radius);