Lines Matching refs:radius
41 static void get_cap_area(int16_t angle, lv_coord_t thickness, uint16_t radius, const lv_point_t * c…
48 uint16_t radius, uint16_t start_angle, uint16_t end_angle) in lv_draw_sdl_draw_arc() argument
53 area_out.x1 = center->x - radius; in lv_draw_sdl_draw_arc()
54 area_out.y1 = center->y - radius; in lv_draw_sdl_draw_arc()
55 …area_out.x2 = center->x + radius - 1; /*-1 because the center already belongs to the left/bottom … in lv_draw_sdl_draw_arc()
56 area_out.y2 = center->y + radius - 1; in lv_draw_sdl_draw_arc()
97 get_cap_area((int16_t) start_angle, dsc->width, radius, center, &start_area); in lv_draw_sdl_draw_arc()
98 get_cap_area((int16_t) end_angle, dsc->width, radius, center, &end_area); in lv_draw_sdl_draw_arc()
204 static void get_cap_area(int16_t angle, lv_coord_t thickness, uint16_t radius, const lv_point_t * c… in get_cap_area() argument
216 cir_x = ((radius - thick_half) * lv_trigo_sin((int16_t)(90 - angle))) >> (LV_TRIGO_SHIFT - ps); in get_cap_area()
217 cir_y = ((radius - thick_half) * lv_trigo_sin(angle)) >> (LV_TRIGO_SHIFT - ps); in get_cap_area()