OpenTTD Source 20250502-master-ge0a9c7d818
PointDimension Struct Reference

Specification of a rectangle with an absolute top-left coordinate and a (relative) width/height. More...

#include <geometry_type.hpp>

Data Fields

int x = 0
 
int y = 0
 
int width = 0
 
int height = 0
 

Detailed Description

Specification of a rectangle with an absolute top-left coordinate and a (relative) width/height.

Definition at line 245 of file geometry_type.hpp.

Field Documentation

◆ height

int PointDimension::height = 0

Definition at line 249 of file geometry_type.hpp.

◆ width

int PointDimension::width = 0

Definition at line 248 of file geometry_type.hpp.

◆ x

int PointDimension::x = 0

Definition at line 246 of file geometry_type.hpp.

◆ y

int PointDimension::y = 0

Definition at line 247 of file geometry_type.hpp.


The documentation for this struct was generated from the following file: