Searched refs:poly_coords (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_polygon.c | 57 …lv_area_t poly_coords = {.x1 = LV_COORD_MAX, .y1 = LV_COORD_MAX, .x2 = LV_COORD_MIN, .y2 = LV_COOR… in lv_draw_sdl_polygon() local 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() 69 is_common = _lv_area_intersect(&draw_area, &poly_coords, draw_ctx->clip_area); in lv_draw_sdl_polygon()
|
/lvgl-3.7.0/src/draw/sw/ |
D | lv_draw_sw_polygon.c | 78 …lv_area_t poly_coords = {.x1 = LV_COORD_MAX, .y1 = LV_COORD_MAX, .x2 = LV_COORD_MIN, .y2 = LV_COOR… in lv_draw_sw_polygon() local 81 poly_coords.x1 = LV_MIN(poly_coords.x1, p[i].x); in lv_draw_sw_polygon() 82 poly_coords.y1 = LV_MIN(poly_coords.y1, p[i].y); in lv_draw_sw_polygon() 83 poly_coords.x2 = LV_MAX(poly_coords.x2, p[i].x); in lv_draw_sw_polygon() 84 poly_coords.y2 = LV_MAX(poly_coords.y2, p[i].y); in lv_draw_sw_polygon() 89 is_common = _lv_area_intersect(&clip_area, &poly_coords, draw_ctx->clip_area); in lv_draw_sw_polygon() 188 lv_draw_rect(draw_ctx, draw_dsc, &poly_coords); in lv_draw_sw_polygon()
|