Crate ribir_geom
source ·Structs§
- The tag for logic unit system to prevent mixing values from different system.
- The tag for device unit system to prevent mixing values from different system.
Constants§
Traits§
Functions§
- Shorthand for
Rect::new(Point2D::new(x, y), Size2D::new(w, h))
. - Return the four corners of a rectangle: [left-top, right-top, right-bottom, left-bottom]