Home
last modified time | relevance | path

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

/lvgl-3.7.0/src/draw/
Dlv_draw_arc.c60 lv_coord_t rout = radius; in lv_draw_arc_get_area() local
64 area->x1 = x - rout; in lv_draw_arc_get_area()
65 area->y1 = y - rout; in lv_draw_arc_get_area()
66 area->x2 = x + rout; in lv_draw_arc_get_area()
67 area->y2 = y + rout; in lv_draw_arc_get_area()
86 area->x2 = x + ((lv_trigo_sin(start_angle + 90) * rout) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
88 area->y2 = y + ((lv_trigo_sin(end_angle) * rout) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
92 area->y2 = y + ((lv_trigo_sin(start_angle) * rout) >> LV_TRIGO_SHIFT) + extra_area; in lv_draw_arc_get_area()
96 area->x1 = x + ((lv_trigo_sin(end_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
99 area->x1 = x + ((lv_trigo_sin(start_angle + 90) * rout) >> LV_TRIGO_SHIFT) - extra_area; in lv_draw_arc_get_area()
[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);
142 int32_t rout = LV_MIN(dsc->radius, short_side >> 1); in draw_bg() local
149 if(rout > 0 || mask_any) { in draw_bg()
151 lv_draw_mask_radius_init(&mask_rout_param, &bg_coords, rout, false); in draw_bg()
238 for(h = 0; h < rout; h++) { in draw_bg()
278 center_coords.y1 = bg_coords.y1 + rout; in draw_bg()
279 center_coords.y2 = bg_coords.y2 - rout; in draw_bg()
282 blend_area.y1 = bg_coords.y1 + rout; in draw_bg()
283 blend_area.y2 = bg_coords.y2 - rout; in draw_bg()
292 int32_t h_end = bg_coords.y2 - rout; in draw_bg()
[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…
713 lv_coord_t rout = LV_MIN(dsc->radius, short_side / 2);/*Get the inner area*/ in draw_border() local
716 …x1 += ((dsc->border_side & LV_BORDER_SIDE_LEFT) ? dsc->border_width : -(dsc->border_width + rout)); in draw_border()
717 …2 -= ((dsc->border_side & LV_BORDER_SIDE_RIGHT) ? dsc->border_width : -(dsc->border_width + rout)); in draw_border()
718 ….y1 += ((dsc->border_side & LV_BORDER_SIDE_TOP) ? dsc->border_width : -(dsc->border_width + rout)); in draw_border()
719 … -= ((dsc->border_side & LV_BORDER_SIDE_BOTTOM) ? dsc->border_width : -(dsc->border_width + rout)); in draw_border()
720 lv_coord_t rin = LV_MAX(rout - dsc->border_width, 0); in draw_border()
721 …draw_border_generic(ctx, coords, &area_inner, draw_area, rout, rin, dsc->border_color, dsc->border… in draw_border()
[all …]