Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_polygon.c49 lv_draw_mask_polygon_param_t polygon_param; in lv_draw_sdl_polygon() local
50 lv_draw_mask_polygon_init(&polygon_param, points, point_cnt); in lv_draw_sdl_polygon()
52 if(polygon_param.cfg.point_cnt < 3) { in lv_draw_sdl_polygon()
53 lv_draw_mask_free_param(&polygon_param); in lv_draw_sdl_polygon()
61 poly_coords.x1 = LV_MIN(poly_coords.x1, polygon_param.cfg.points[i].x); in lv_draw_sdl_polygon()
62 poly_coords.y1 = LV_MIN(poly_coords.y1, polygon_param.cfg.points[i].y); in lv_draw_sdl_polygon()
63 poly_coords.x2 = LV_MAX(poly_coords.x2, polygon_param.cfg.points[i].x); in lv_draw_sdl_polygon()
64 poly_coords.y2 = LV_MAX(poly_coords.y2, polygon_param.cfg.points[i].y); in lv_draw_sdl_polygon()
71 lv_draw_mask_free_param(&polygon_param); in lv_draw_sdl_polygon()
77 int16_t mask_id = lv_draw_mask_add(&polygon_param, NULL); in lv_draw_sdl_polygon()
[all …]