Searched refs:bg_w (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_rect.c | 397 lv_coord_t bg_w = lv_area_get_width(coords), bg_h = lv_area_get_height(coords); in draw_bg_color() local 398 lv_coord_t real_radius = LV_MIN3(bg_w / 2, bg_h / 2, radius); in draw_bg_color() 466 lv_coord_t bg_w = lv_area_get_width(coords), bg_h = lv_area_get_height(coords); in draw_bg_grad_radius() local 467 lv_coord_t real_radius = LV_MIN3(bg_w / 2, bg_h / 2, radius); in draw_bg_grad_radius() 469 …SDL_Texture * grad_texture = lv_draw_sdl_rect_grad_frag_obtain(ctx, &dsc->bg_grad, bg_w, bg_h, rad… in draw_bg_grad_radius() 476 if(bg_w > radius * 2) { in draw_bg_grad_radius() 492 part_coords.x2 = bg_w - radius - 1; in draw_bg_grad_radius() 502 part_coords.x2 = bg_w - radius - 1; in draw_bg_grad_radius() 515 part_coords.x2 = bg_w - 1; in draw_bg_grad_radius()
|