diff options
Diffstat (limited to 'svgbob/src/buffer/fragment_buffer/fragment/arc.rs')
-rw-r--r-- | svgbob/src/buffer/fragment_buffer/fragment/arc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svgbob/src/buffer/fragment_buffer/fragment/arc.rs b/svgbob/src/buffer/fragment_buffer/fragment/arc.rs index d59cd8c..756a8d4 100644 --- a/svgbob/src/buffer/fragment_buffer/fragment/arc.rs +++ b/svgbob/src/buffer/fragment_buffer/fragment/arc.rs @@ -81,7 +81,7 @@ impl Arc { } } - pub(in crate) fn scale(&self, scale: f32) -> Self { + pub fn scale(&self, scale: f32) -> Self { Arc { start: self.start.scale(scale), end: self.end.scale(scale), @@ -103,7 +103,7 @@ impl Arc { } /// calculate the center point this arc - fn center(&self) -> Point { + pub fn center(&self) -> Point { let start = self.start; let end = self.end; let q = start.distance(&end); |