Unit 'Graph' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#rtl]

SetAspectRatio

Set aspect ration of the screen.

Declaration

Source position: graphh.inc line 801

procedure SetAspectRatio(

  Xasp: Word;

  Yasp: Word

);

Description

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

Errors

None

See also

InitGraph

  

Initialize graphical system.

GetAspectRatio

  

Return screen resolution.


Documentation generated on: Jul 24 2023