1
2
3
4
5
6
7
8
9
10
11
pub type ScreenCoord = i32;
pub type ScreenPoint = euclid::default::Point2D<ScreenCoord>;
pub type ScreenVector = euclid::default::Vector2D<ScreenCoord>;
pub type ScreenRect = euclid::default::Rect<ScreenCoord>;
pub type ScreenSize = euclid::default::Size2D<ScreenCoord>;

pub type GrCoord = f32;
pub type GrPoint = euclid::default::Point2D<GrCoord>;
pub type GrVector = euclid::default::Vector2D<GrCoord>;
pub type GrRect = euclid::default::Rect<GrCoord>;
pub type GrSize = euclid::default::Size2D<GrCoord>;