Lines Matching refs:radius

239 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
249 if(radius <= 0) { in _lv_area_is_point_on()
256 if(radius > max_radius) in _lv_area_is_point_on()
257 radius = max_radius; in _lv_area_is_point_on()
263 corner_area.x2 = a_p->x1 + radius; in _lv_area_is_point_on()
265 corner_area.y2 = a_p->y1 + radius; in _lv_area_is_point_on()
267 corner_area.x2 += radius; in _lv_area_is_point_on()
268 corner_area.y2 += radius; in _lv_area_is_point_on()
272 corner_area.y1 = a_p->y2 - radius; in _lv_area_is_point_on()
275 corner_area.x2 += radius; in _lv_area_is_point_on()
276 corner_area.y1 -= radius; in _lv_area_is_point_on()
280 corner_area.x1 = a_p->x2 - radius; in _lv_area_is_point_on()
283 corner_area.x1 -= radius; in _lv_area_is_point_on()
284 corner_area.y1 -= radius; in _lv_area_is_point_on()
289 corner_area.y2 = a_p->y1 + radius; in _lv_area_is_point_on()
291 corner_area.x1 -= radius; in _lv_area_is_point_on()
292 corner_area.y2 += radius; in _lv_area_is_point_on()
322 bool _lv_area_is_in(const lv_area_t * ain_p, const lv_area_t * aholder_p, lv_coord_t radius) in _lv_area_is_in() argument
332 if(radius == 0) return true; in _lv_area_is_in()
339 if(_lv_area_is_point_on(aholder_p, &p, radius) == false) return false; in _lv_area_is_in()
343 if(_lv_area_is_point_on(aholder_p, &p, radius) == false) return false; in _lv_area_is_in()
347 if(_lv_area_is_point_on(aholder_p, &p, radius) == false) return false; in _lv_area_is_in()
351 if(_lv_area_is_point_on(aholder_p, &p, radius) == false) return false; in _lv_area_is_in()
363 bool _lv_area_is_out(const lv_area_t * aout_p, const lv_area_t * aholder_p, lv_coord_t radius) in _lv_area_is_out() argument
370 if(radius == 0) return false; in _lv_area_is_out()
377 if(_lv_area_is_point_on(aholder_p, &p, radius)) return false; in _lv_area_is_out()
381 if(_lv_area_is_point_on(aholder_p, &p, radius)) return false; in _lv_area_is_out()
385 if(_lv_area_is_point_on(aholder_p, &p, radius)) return false; in _lv_area_is_out()
389 if(_lv_area_is_point_on(aholder_p, &p, radius)) return false; in _lv_area_is_out()