Lines Matching refs:bounds
33 #define CALC_BOUNDS(p, bounds) \ argument
35 if((p).x < (bounds).x1) (bounds).x1 = (int32_t)(p).x; \
36 if((p).y < (bounds).y1) (bounds).y1 = (int32_t)(p).y; \
37 if((p).x > (bounds).x2) (bounds).x2 = (int32_t)(p).x; \
38 if((p).y > (bounds).y2) (bounds).y2 = (int32_t)(p).y; \
142 lv_area_t bounds; member
166 lv_area_t bounds; member
184 lv_area_t bounds; member
472 CALC_BOUNDS(points[0], poly->bounds); in _set_polyline_attr()
479 CALC_BOUNDS(pt, poly->bounds); in _set_polyline_attr()
527 CALC_BOUNDS(pt, poly->bounds); in _set_path_attr()
533 CALC_BOUNDS(pt, poly->bounds); in _set_path_attr()
542 CALC_BOUNDS(pt[0], poly->bounds); in _set_path_attr()
543 CALC_BOUNDS(pt[1], poly->bounds); in _set_path_attr()
553 CALC_BOUNDS(pt[0], poly->bounds); in _set_path_attr()
554 CALC_BOUNDS(pt[1], poly->bounds); in _set_path_attr()
555 CALC_BOUNDS(pt[2], poly->bounds); in _set_path_attr()
921 lv_area_t bounds = {0, 0, 0, 0}; in _set_gradient_ref() local
922 target_obj->get_bounds(target_obj, &bounds); in _set_gradient_ref()
924 int32_t w = bounds.x2 - bounds.x1; in _set_gradient_ref()
925 int32_t h = bounds.y2 - bounds.y1; in _set_gradient_ref()
931 lv_matrix_translate(mtx, bounds.x1, bounds.y1); in _set_gradient_ref()
940 lv_matrix_translate(mtx, bounds.x1, bounds.y1); in _set_gradient_ref()
1084 lv_area_set(&poly->bounds, 0, 0, 0, 0); in _init_poly()
1604 lv_vector_path_get_bounding(text->path, &text->bounds); in _render_text()
1666 lv_vector_path_get_bounding(span->path, &span->bounds); in _render_span()
1716 lv_area_copy(area, &poly->bounds); in _get_poly_bounds()
1723 lv_area_copy(area, &text->bounds); in _get_text_bounds()
1729 lv_area_copy(area, &tspan->bounds); in _get_tspan_bounds()