@@ -516,7 +516,6 @@ impl OverlayContext {
516516
517517 // Top-left sector
518518 path. move_to ( kurbo:: Point :: new ( x, y) ) ;
519- let end_angle = PI + angle;
520519 let end_x = x + DOWEL_PIN_RADIUS * ( FRAC_PI_2 + angle) . cos ( ) ;
521520 let end_y = y + DOWEL_PIN_RADIUS * ( FRAC_PI_2 + angle) . sin ( ) ;
522521 path. line_to ( kurbo:: Point :: new ( end_x, end_y) ) ;
@@ -542,10 +541,11 @@ impl OverlayContext {
542541 self . scene . fill ( peniko:: Fill :: NonZero , transform, Self :: parse_color ( color) , None , & path) ;
543542 }
544543
544+ #[ allow( clippy:: too_many_arguments) ]
545545 pub fn arc_sweep_angle ( & mut self , offset_angle : f64 , angle : f64 , end_point_position : DVec2 , bold_radius : f64 , dash_radius : f64 , pivot : DVec2 , text : & str , transform : DAffine2 ) {
546546 self . manipulator_handle ( end_point_position, true , Some ( COLOR_OVERLAY_RED ) ) ;
547547 self . draw_arc_gizmo_angle ( pivot, bold_radius, dash_radius, ARC_SWEEP_GIZMO_RADIUS , offset_angle, angle. to_radians ( ) ) ;
548- self . text ( & text, COLOR_OVERLAY_BLUE , None , transform, 16. , [ Pivot :: Middle , Pivot :: Middle ] ) ;
548+ self . text ( text, COLOR_OVERLAY_BLUE , None , transform, 16. , [ Pivot :: Middle , Pivot :: Middle ] ) ;
549549 }
550550
551551 /// Used by the Pen and Path tools to outline the path of the shape.
0 commit comments