Fix paths with negative coordinates in iced_tiny_skia

This commit is contained in:
Héctor Ramón Jiménez 2024-01-17 15:31:29 +01:00
parent 4cb53a6e22
commit acee3b030b
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 21 additions and 18 deletions

View file

@ -13,8 +13,6 @@ pub enum Custom {
paint: tiny_skia::Paint<'static>,
/// The fill rule to follow.
rule: tiny_skia::FillRule,
/// The transform to apply to the path.
transform: tiny_skia::Transform,
},
/// A path stroked with some paint.
Stroke {
@ -24,8 +22,6 @@ pub enum Custom {
paint: tiny_skia::Paint<'static>,
/// The stroke settings.
stroke: tiny_skia::Stroke,
/// The transform to apply to the path.
transform: tiny_skia::Transform,
},
}