This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
functions:widescreen [2016/10/16 13:22] – korshun | functions:widescreen [2017/06/12 18:43] (current) – removed korshun | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Widescreen support functions ====== | ||
- | |||
- | ==== GetAspectRatio ==== | ||
- | '' | ||
- | |||
- | Returns the aspect ratio that ZDoom is currently using for [[zdoom> | ||
- | |||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | ===== Hud boundaries ===== | ||
- | '' | ||
- | '' | ||
- | '' | ||
- | '' | ||
- | |||
- | Return the boundaries of the screen for the given virtual width or height, accounting for current aspect ratio. Equivalent to adding or subtracting a hud border manually. | ||
- | |||
- | ===== Hud borders ===== | ||
- | '' | ||
- | '' | ||
- | |||
- | Return hud borders for the given virtual width or height. | ||
- | |||
- | |||
- | |||
- | |||