Module rect
Available on crate feature
dep_sdl2
only.Expand description
Rectangles and points.
Structs§
- FPoint
- Immutable point type with float precision, consisting of x and y.
- FRect
- A (non-empty) rectangle with float precision.
- Point
- Immutable point type, consisting of x and y.
- Rect
- A (non-empty) rectangle.
Functions§
- max_
int_ value - The maximal integer value that can be used for rectangles.
- min_
int_ value - The minimal integer value that can be used for rectangle positions and points.