CBA_fnc_getAspectRatio

Description

Used to determine the Aspect ratio of the screen.

Parameters

_outputstring with one of [“ARRAY”,”NUMBER”,”STRING”]

Returns

array, string or number of screenratio i.e.  [16,9] or “16:9” or 1.333 ..

Examples

_ratio = "STRING" call CBA_fnc_getAspectRatio;
_ratio = "ARRAY" call CBA_fnc_getAspectRatio;
_ratio = "NUMBER" call CBA_fnc_getAspectRatio;

Author

commy2

Close