GetAspectRatio

Return screen resolution

Declaration

Source position: graphh.inc line 800

  procedure GetAspectRatio(var Xasp: Word; var Yasp: Word);

Description

GetAspectRatio determines the effective resolution of the screen. The aspect ration can then be calculated as Xasp/Yasp.

Errors

None.

See also

Name Description
InitGraph Initialize graphical system
SetAspectRatio Set aspect ration of the screen

results matching ""

    No results matching ""