Home
last modified time | relevance | path

Searched refs:thick_corr (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/src/draw/sdl/
Dlv_draw_sdl_arc.c211 uint8_t thick_corr = (thickness & 0x01) ? 0 : 1; in get_cap_area() local
222 out->x1 = cir_x - thick_half + thick_corr; in get_cap_area()
228 out->x2 = cir_x + thick_half - thick_corr; in get_cap_area()
233 out->y1 = cir_y - thick_half + thick_corr; in get_cap_area()
239 out->y2 = cir_y + thick_half - thick_corr; in get_cap_area()
/lvgl-3.7.0/src/draw/sw/
Dlv_draw_sw_arc.c505 uint8_t thick_corr = (thickness & 0x01) ? 0 : 1; in get_rounded_area() local
516 res_area->x1 = cir_x - thick_half + thick_corr; in get_rounded_area()
522 res_area->x2 = cir_x + thick_half - thick_corr; in get_rounded_area()
527 res_area->y1 = cir_y - thick_half + thick_corr; in get_rounded_area()
533 res_area->y2 = cir_y + thick_half - thick_corr; in get_rounded_area()