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

SetAspectRatio

Set aspect ration of the screen

Declaration

Source position: graphh.inc line 765

procedure SetAspectRatio(

  Xasp: Word;

  Yasp: Word

);

Description

Sets the aspect ratio of the current screen to Xasp/Yasp.

Errors

None

See also

InitGraph

  

Initialize grpahical system

GetAspectRatio

  

Return screen resolution

The latest version of this document can be found at lazarus-ccr.sourceforge.net.