Implement vector pipeline in iced_tiny_skia

This commit is contained in:
Héctor Ramón Jiménez 2023-03-07 06:09:51 +01:00
parent bb49e17cab
commit 5b3977daf6
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
7 changed files with 184 additions and 10 deletions

View file

@ -1,7 +1,7 @@
use crate::{Padding, Vector};
/// An amount of space in 2 dimensions.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Size<T = f32> {
/// The width.
pub width: T,