Searched refs:rin (Results 1 – 3 of 3) sorted by relevance
/lvgl-3.5.0/src/draw/ |
D | lv_draw_arc.c | 74 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.5.0/src/draw/sdl/ |
D | lv_draw_sdl_rect.c | 68 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… 685 lv_coord_t rin = LV_MAX(rout - dsc->border_width, 0); in draw_border() local 686 …draw_border_generic(ctx, coords, &area_inner, draw_area, rout, rin, dsc->border_color, dsc->border… in draw_border() 723 lv_coord_t rin = dsc->radius; in draw_outline() local 725 if(rin > short_side >> 1) rin = short_side >> 1; in draw_outline() 727 lv_coord_t rout = rin + dsc->outline_width; in draw_outline() 729 …draw_border_generic(ctx, &area_outer, &area_inner, clip, rout, rin, dsc->outline_color, dsc->outli… in draw_outline() 734 … 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.5.0/src/draw/sw/ |
D | lv_draw_sw_rect.c | 46 … lv_coord_t rout, lv_coord_t rin, lv_color_t color, lv_opa_t opa, lv_blend_mode_t blend_mode); 425 lv_coord_t rin = rout - dsc->border_width; in draw_border() local 426 if(rin < 0) rin = 0; in draw_border() 428 …draw_border_generic(draw_ctx, coords, &area_inner, rout, rin, dsc->border_color, dsc->border_opa, … in draw_border() 1145 int32_t rin = dsc->radius; in draw_outline() local 1147 if(rin > short_side >> 1) rin = short_side >> 1; in draw_outline() 1149 lv_coord_t rout = rin + dsc->outline_width; in draw_outline() 1151 …draw_border_generic(draw_ctx, &area_outer, &area_inner, rout, rin, dsc->outline_color, dsc->outlin… in draw_outline() 1156 … 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 1164 if(!mask_any && rout == 0 && rin == 0) { in draw_border_generic() [all …]
|