diff options
| author | Malo <57839069+MDLC01@users.noreply.github.com> | 2025-02-06 11:18:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-06 10:18:10 +0000 |
| commit | ca702c7f82ef8e027e559228dc9c469e1a65ac6f (patch) | |
| tree | 7644023bf512d4f7e36c94eb877d6d9543b41d13 /crates/typst-layout | |
| parent | d897ab5e7d2e941494df8ba137a1f92f8aada03a (diff) | |
Documentation fixes and improvements (#5816)
Diffstat (limited to 'crates/typst-layout')
| -rw-r--r-- | crates/typst-layout/src/shapes.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst-layout/src/shapes.rs b/crates/typst-layout/src/shapes.rs index eb665f06..21d0a518 100644 --- a/crates/typst-layout/src/shapes.rs +++ b/crates/typst-layout/src/shapes.rs @@ -1281,7 +1281,7 @@ impl ControlPoints { } } -/// Helper to draw arcs with bezier curves. +/// Helper to draw arcs with Bézier curves. trait CurveExt { fn arc(&mut self, start: Point, center: Point, end: Point); fn arc_move(&mut self, start: Point, center: Point, end: Point); @@ -1305,7 +1305,7 @@ impl CurveExt for Curve { } } -/// Get the control points for a bezier curve that approximates a circular arc for +/// Get the control points for a Bézier curve that approximates a circular arc for /// a start point, an end point and a center of the circle whose arc connects /// the two. fn bezier_arc_control(start: Point, center: Point, end: Point) -> [Point; 2] { |
