OpenTTD Source: PointDimension Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
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
int | y
int | width
int | height

## Detailed Description

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

Definition at line 234 of file geometry_type.hpp.

## Field Documentation

## ◆ height

int PointDimension::height

Definition at line 238 of file geometry_type.hpp.

## ◆ width

int PointDimension::width

Definition at line 237 of file geometry_type.hpp.

## ◆ x

int PointDimension::x

Definition at line 235 of file geometry_type.hpp.

## ◆ y

int PointDimension::y

Definition at line 236 of file geometry_type.hpp.

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

- src/core/geometry_type.hpp