summaryrefslogtreecommitdiffstats
path: root/packages/svgbob/src/buffer/fragment_buffer/fragment/arc.rs
diff options
context:
space:
mode:
authorJovansonlee Cesar <ivanceras@gmail.com>2023-08-10 23:47:41 +0800
committerGitHub <noreply@github.com>2023-08-10 23:47:41 +0800
commit3585a88213c5168a3e7943e02d9248858c95d628 (patch)
treecfe3e07e9007b66ec0e076be62ec3640e8c6421b /packages/svgbob/src/buffer/fragment_buffer/fragment/arc.rs
parent608db0bbc4589952fce86cea1bf5844d9943102f (diff)
parent228e3511d535150404dd215b3f3d48b80b2db857 (diff)
Merge pull request #99 from deining/bump-workflow-actions
Bump workflow actions
Diffstat (limited to 'packages/svgbob/src/buffer/fragment_buffer/fragment/arc.rs')
-rw-r--r--packages/svgbob/src/buffer/fragment_buffer/fragment/arc.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/svgbob/src/buffer/fragment_buffer/fragment/arc.rs b/packages/svgbob/src/buffer/fragment_buffer/fragment/arc.rs
index 152e1a9..d879a19 100644
--- a/packages/svgbob/src/buffer/fragment_buffer/fragment/arc.rs
+++ b/packages/svgbob/src/buffer/fragment_buffer/fragment/arc.rs
@@ -7,7 +7,7 @@ use sauron::{
};
use std::{cmp::Ordering, fmt};
-/// TODO: Add an is_broken field when there is a presense of `~` or `!` in the span
+/// TODO: Add an is_broken field when there is a presence of `~` or `!` in the span
#[derive(Debug, Clone)]
pub struct Arc {
pub start: Point,
@@ -139,7 +139,7 @@ impl Arc {
}
/// check to see if the arc is aabb right angle
- /// that is the center x and y coordinate is alinged to both of the end points
+ /// that is the center x and y coordinate is aligned to both of the end points
/// This will be used for checking if group of fragments can be a rounded rect
pub fn is_aabb_right_angle_arc(&self) -> bool {
let center = self.center();