Module geometry

Source
Expand description

Helper structs for abstracting on-screen geometry.

Structsยง

Point
Represents a single on-screen point/coordinate pair.
Rect
A rectangle, described by its four corners and a size.
Size
A 2D size representation.