dioxus/packages/html/src/geometry.rs

14 lines
316 B
Rust
Raw Normal View History

2022-05-06 20:54:07 +00:00
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;
2022-05-06 22:01:38 +00:00
pub type PagePoint = Point2D<f64, PageSpace>;