OpenTTD Source: PointDimension Struct Reference

OpenTTD Source 15.3

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 = 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 301 of file geometry_type.hpp.

## Field Documentation

## ◆ height

int PointDimension::height = 0

Definition at line 305 of file geometry_type.hpp.

## ◆ width

int PointDimension::width = 0

Definition at line 304 of file geometry_type.hpp.

## ◆ x

int PointDimension::x = 0

Definition at line 302 of file geometry_type.hpp.

## ◆ y

int PointDimension::y = 0

Definition at line 303 of file geometry_type.hpp.

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

- src/core/geometry_type.hpp