Expand description
Operations for SDL’s rectangle type.
Structs
- The structure that defines a point (floating)
- A rectangle, with the origin at the upper left (floating).
- The structure that defines a point (integer)
- A rectangle, with the origin at the upper left (integer).
Functions
- Calculate a minimal rectangle enclosing a set of points.
- Determine whether two rectangles intersect.
- Calculate the intersection of two rectangles.
- Calculate the intersection of a rectangle and line segment.
- Returns
true
if a point resides inside a rectangle. - Returns
true
if the rectangle has no area. - Calculate the union of two rectangles.