Rusty MouseData API

This commit is contained in:
Reinis Mazeiks committed 2022-05-06 23:54:07 +03:00
1 parent 152bad6433
commit 0dbd3e370e
6 files changed
+173 -5

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
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>;