Searched refs:bg_h (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() 481 part_coords.y2 = bg_h - radius - 1; in draw_bg_grad_radius() 494 part_coords.y2 = bg_h - 1; in draw_bg_grad_radius() 499 else if(bg_h > radius * 2) { in draw_bg_grad_radius() 517 part_coords.y2 = bg_h - radius - 1; in draw_bg_grad_radius()
|