Home
last modified time | relevance | path

Searched refs:rin (Results 1 – 3 of 3) sorted by relevance

/lvgl-3.7.0/src/draw/
Dlv_draw_arc.c74 lv_coord_t rin = radius - w; in lv_draw_arc_get_area() local
85 area->y1 = y + ((lv_trigo_sin(start_angle) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
89 area->x1 = x + ((lv_trigo_sin(end_angle + 90) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
93 area->x2 = x + ((lv_trigo_sin(start_angle + 90) * rin) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
95 area->y1 = y + ((lv_trigo_sin(end_angle) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
100 area->y2 = y + ((lv_trigo_sin(start_angle) * rin) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
103 area->x2 = x + ((lv_trigo_sin(end_angle + 90) * rin) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
106 area->x1 = x + ((lv_trigo_sin(start_angle + 90) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
110 area->y2 = y + ((lv_trigo_sin(end_angle) * rin) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
116 lv_trigo_sin(start_angle)) * rin) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
[all …]
/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_rect.c68 lv_coord_t rout, rin; member
98 … const lv_area_t * clip, lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa,
116 static lv_draw_rect_border_key_t rect_border_key_create(lv_coord_t rout, lv_coord_t rin, const lv_a…
720 lv_coord_t rin = LV_MAX(rout - dsc->border_width, 0); in draw_border() local
721 …draw_border_generic(ctx, coords, &area_inner, draw_area, rout, rin, dsc->border_color, dsc->border… in draw_border()
758 lv_coord_t rin = dsc->radius; in draw_outline() local
760 if(rin > short_side >> 1) rin = short_side >> 1; in draw_outline()
762 lv_coord_t rout = rin + dsc->outline_width; in draw_outline()
764 …draw_border_generic(ctx, &area_outer, &area_inner, clip, rout, rin, dsc->outline_color, dsc->outli… in draw_outline()
769 … const lv_area_t * clip, lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa, in draw_border_generic() argument
[all …]
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_rect.c45 … lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa, lv_blend_mode_t blend_mode);
419 lv_coord_t rin = rout - dsc->border_width; in draw_border() local
420 if(rin < 0) rin = 0; in draw_border()
422 …draw_border_generic(draw_ctx, coords, &area_inner, rout, rin, dsc->border_color, dsc->border_opa, … in draw_border()
1136 int32_t rin = dsc->radius; in draw_outline() local
1138 if(rin > short_side >> 1) rin = short_side >> 1; in draw_outline()
1140 lv_coord_t rout = rin + dsc->outline_width; in draw_outline()
1142 …draw_border_generic(draw_ctx, &area_outer, &area_inner, rout, rin, dsc->outline_color, dsc->outlin… in draw_outline()
1147 … lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa, lv_blend_mode_t blend_mode) in draw_border_generic() argument
1155 if(!mask_any && rout == 0 && rin == 0) { in draw_border_generic()
[all …]