Lines Matching refs:area
26 static bool lv_point_within_circle(const lv_area_t * area, const lv_point_t * p);
106 void lv_area_increase(lv_area_t * area, lv_coord_t w_extra, lv_coord_t h_extra) in lv_area_increase() argument
108 area->x1 -= w_extra; in lv_area_increase()
109 area->x2 += w_extra; in lv_area_increase()
110 area->y1 -= h_extra; in lv_area_increase()
111 area->y2 += h_extra; in lv_area_increase()
114 void lv_area_move(lv_area_t * area, lv_coord_t x_ofs, lv_coord_t y_ofs) in lv_area_move() argument
116 area->x1 += x_ofs; in lv_area_move()
117 area->x2 += x_ofs; in lv_area_move()
118 area->y1 += y_ofs; in lv_area_move()
119 area->y2 += y_ofs; in lv_area_move()
587 static bool lv_point_within_circle(const lv_area_t * area, const lv_point_t * p) in lv_point_within_circle() argument
589 lv_coord_t r = (area->x2 - area->x1) / 2; in lv_point_within_circle()
592 lv_coord_t cx = area->x1 + r; in lv_point_within_circle()
593 lv_coord_t cy = area->y1 + r; in lv_point_within_circle()