IPB

> SetAspectRatio (function) (Graph unit)
Чат
Форум
Загрузка...
 

Language:
Русский
English

 SetAspectRatio (function)     (Graph unit)


Changes the default aspect-ratio correction factor.

Declaration

 function SetAspectRatio(Xasp, Yasp: Word): Word;

Target

Real, Protected

Remarks

SetAspectRatio is used to change the default aspect ratio of the current graphics mode. The aspect ratio is used to draw circles. If circles appear elliptical, the monitor is not aligned properly. This can be corrected in the hardware by realigning the monitor, or can be corrected in the software by changing the aspect ratio using SetAspectRatio. To read the current aspect ratio from the system, use GetAspectRatio.

Restrictions

Must be in graphics mode.

See Also

Sample Code

 
 К началу страницы 
Тэги: SetAspectRatio
 

Код для вставки: :: :: :: ГОСТ ::
Поделиться: //
 



-
Хостинг предоставлен компанией "Веб Сервис Центр" при поддержке компании "ДокЛаб"