Write missing documentation in iced_graphics

This commit is contained in:
Héctor Ramón Jiménez 2023-05-11 15:25:58 +02:00
parent dd04c0b070
commit 8622e998f2
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
8 changed files with 34 additions and 12 deletions

View file

@ -53,11 +53,13 @@ impl Path {
Self::new(|p| p.circle(center, radius))
}
/// Returns the internal [`lyon_path::Path`].
#[inline]
pub fn raw(&self) -> &lyon_path::Path {
&self.raw
}
/// Returns the current [`Path`] with the given transform applied to it.
#[inline]
pub fn transform(&self, transform: &lyon_path::math::Transform) -> Path {
Path {