help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'Graph' (#rtl)

GetAspectRatio

Return screen resolution

Declaration

Source position: graphh.inc line 762

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

InitGraph

  

Initialize grpahical system

SetAspectRatio

  

Set aspect ration of the screen

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505