Sign in Join
FPDoc Onlineexperiment

GetAspectRatio procedure

In unit Graph

Return screen resolution.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.