Home
last modified time | relevance | path

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

/lvgl-latest/src/widgets/
Dlv_bar.c421 lv_coord_t short_side = LV_MIN(barw, barh); in draw_indic() local
422 if(bg_radius > short_side >> 1) bg_radius = short_side >> 1; in draw_indic()
425 short_side = LV_MIN(indicw, indich); in draw_indic()
426 if(indic_radius > short_side >> 1) indic_radius = short_side >> 1; in draw_indic()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_rect.c141 int32_t short_side = LV_MIN(coords_bg_w, coords_bg_h); in draw_bg() local
142 int32_t rout = LV_MIN(dsc->radius, short_side >> 1); in draw_bg()
408 int32_t short_side = LV_MIN(coords_w, coords_h); in draw_border() local
409 if(rout > short_side >> 1) rout = short_side >> 1; in draw_border()
468 lv_coord_t short_side = LV_MIN(lv_area_get_width(&bg_area), lv_area_get_height(&bg_area)); in draw_shadow() local
469 if(r_bg > short_side >> 1) r_bg = short_side >> 1; in draw_shadow()
473 short_side = LV_MIN(lv_area_get_width(&core_area), lv_area_get_height(&core_area)); in draw_shadow()
474 if(r_sh > short_side >> 1) r_sh = short_side >> 1; in draw_shadow()
1137 int32_t short_side = LV_MIN(inner_w, inner_h); in draw_outline() local
1138 if(rin > short_side >> 1) rin = short_side >> 1; in draw_outline()
/lvgl-latest/src/draw/sdl/
Dlv_draw_sdl_rect.c712 lv_coord_t short_side = LV_MIN(coords_w, coords_h); in draw_border() local
713 lv_coord_t rout = LV_MIN(dsc->radius, short_side / 2);/*Get the inner area*/ in draw_border()
759 int32_t short_side = LV_MIN(inner_w, inner_h); in draw_outline() local
760 if(rin > short_side >> 1) rin = short_side >> 1; in draw_outline()
/lvgl-latest/src/draw/
Dlv_draw_mask.c479 int32_t short_side = LV_MIN(w, h); in lv_draw_mask_radius_init() local
480 if(radius > short_side >> 1) radius = short_side >> 1; in lv_draw_mask_radius_init()