dioxus/packages/html/src/geometry.rs
2022-05-06 23:54:07 +03:00

13 lines
No EOL
315 B
Rust

pub use euclid::*;
pub struct ScreenSpace;
pub type ScreenPoint = Point2D<f64, ScreenSpace>;
pub struct ClientSpace;
pub type ClientPoint = Point2D<f64, ClientSpace>;
pub struct ElementSpace;
pub type ElementPoint = Point2D<f64, ElementSpace>;
pub struct PageSpace;
pub type PagePoint = Point2D<f64, PageSpace>;