OpenTTD Source  20240919-master-gdf0233f4c2
geometry_type.hpp File Reference

Go to the source code of this file.

Data Structures

struct  Point
 Coordinates of a point in 2D. More...
 
struct  Dimension
 Dimensions (a width and height) of a rectangle in 2D. More...
 
struct  RectPadding
 Padding dimensions to apply to each side of a Rect. More...
 
struct  Rect
 Specification of a rectangle with absolute coordinates of all edges. More...
 
struct  PointDimension
 Specification of a rectangle with an absolute top-left coordinate and a (relative) width/height. More...
 

Detailed Description

All geometry types in OpenTTD.

Definition in file geometry_type.hpp.