ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:getaspectratio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
functions:getaspectratio [2017/03/21 20:26] – created korshunfunctions:getaspectratio [2017/04/17 20:17] (current) korshun
Line 1: Line 1:
 ====== GetAspectRatio ====== ====== GetAspectRatio ======
-{{tag>hud widescreen needs_examples}}+{{tag>info hud widescreen needs_examples}}
 ''fixed GetAspectRatio()'' ''fixed GetAspectRatio()''
  
 ===== Description ===== ===== Description =====
-Returns the aspect ratio that ZDoom is currently using for [[zdoom>HudMessage]]s.+Returns the aspect ratio that ZDoom is currently using for [[zdoom>HudMessage]]s. See [[:HUD coordinate system]].
  
-  * ASPECT_4_3 +  * ''ASPECT_4_3'' 
-  * ASPECT_16_9 +  * ''ASPECT_16_9'' 
-  * ASPECT_16_10 +  * ''ASPECT_16_10'' 
-  * ASPECT_17_10 +  * ''ASPECT_17_10'' 
-  * ASPECT_5_4+  * ''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. Every aspect ratio constant is a fixed-point number equal to the corresponding ratio, for example, ''ASPECT_4_3'' is equal to 1.333333333333333.
  
functions/getaspectratio.1490120791.txt.gz · Last modified: 2017/03/21 20:26 by korshun