diff --git a/content/src/outline.rs b/content/src/outline.rs index 589d3cd6..c0493f40 100644 --- a/content/src/outline.rs +++ b/content/src/outline.rs @@ -486,6 +486,12 @@ impl Contour { self.closed } + /// Returns the points (on curve and control points) of the Contour + #[inline] + pub fn points(&self) -> &[Vector2F] { + &self.points + } + /// Returns the position of the point (which can be an on-curve point or a control point) with /// the given index. ///