GetAspectRatio

fixed GetAspectRatio()

Description

Returns the aspect ratio that ZDoom is currently using for HudMessages. See HUD coordinate system.

ASPECT_4_3

ASPECT_16_9

ASPECT_16_10

ASPECT_17_10

ASPECT_5_4

Every aspect ratio constant is a fixed-point number equal to the corresponding ratio, for example, ASPECT_4_3 is equal to 1.333333333333333.