Searched refs:real_radius (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/src/draw/sdl/ |
D | lv_draw_sdl_rect.c | 398 lv_coord_t real_radius = LV_MIN3(bg_w / 2, bg_h / 2, radius); in draw_bg_color() local 400 SDL_Texture * texture = lv_draw_sdl_rect_bg_frag_obtain(ctx, real_radius, &texture_in_cache); in draw_bg_color() 405 lv_draw_sdl_rect_bg_frag_draw_corners(ctx, texture, real_radius, coords, draw_area, false); in draw_bg_color() 406 frag_render_borders(ctx->renderer, texture, real_radius, coords, draw_area, false); in draw_bg_color() 407 frag_render_center(ctx->renderer, texture, real_radius, coords, draw_area, false); in draw_bg_color() 467 lv_coord_t real_radius = LV_MIN3(bg_w / 2, bg_h / 2, radius); in draw_bg_grad_radius() local 473 lv_draw_sdl_rect_bg_frag_draw_corners(ctx, grad_texture, real_radius, coords, draw_area, true); in draw_bg_grad_radius()
|
D | lv_draw_sdl_img.c | 336 lv_coord_t real_radius = LV_MIN3(radius, w, h); in draw_img_rounded() local 338 …SDL_Texture * frag = img_rounded_frag_obtain(ctx, texture, header, w, h, real_radius, &frag_in_cac… in draw_img_rounded() 340 lv_draw_sdl_rect_bg_frag_draw_corners(ctx, frag, real_radius, coords, clip, true); in draw_img_rounded()
|