Searched refs:a_p (Results 1 – 2 of 2) sorted by relevance
150 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() argument154 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()164 lv_coord_t w = lv_area_get_width(a_p) / 2; in _lv_area_is_point_on()165 lv_coord_t h = lv_area_get_height(a_p) / 2; in _lv_area_is_point_on()173 corner_area.x1 = a_p->x1; in _lv_area_is_point_on()174 corner_area.x2 = a_p->x1 + radius; in _lv_area_is_point_on()175 corner_area.y1 = a_p->y1; in _lv_area_is_point_on()176 corner_area.y2 = a_p->y1 + radius; in _lv_area_is_point_on()183 corner_area.y1 = a_p->y2 - radius; in _lv_area_is_point_on()184 corner_area.y2 = a_p->y2; in _lv_area_is_point_on()[all …]
178 bool _lv_area_is_point_on(const lv_area_t * a_p, const lv_point_t * p_p, lv_coord_t radius);