fg_setratio()Win32 DirectX Fastgraph/Light Prototype void fg_setratio (double ratio); Sub fg_setratio (ByVal ratio As Double) procedure fg_setratio (ratio : real); Description The fg_setratio() function defines the aspect ratio for software characters. The aspect ratio is the ratio of character width to character height. If a program draws software characters before calling fg_setratio(), Fastgraph will use its default aspect ratio of 1. Parameters ratio is the aspect ratio. It must be greater than zero. Return value none Restrictions Before using this function, you must use fg_initw() and fg_setworld() to establish a 2D world space coordinate system. See also fg_initw(), fg_setangle(), fg_setsize(), fg_setsizew(), fg_setworld(), fg_swchar(), fg_swlength(), fg_swtext() Examples
|
 
copyright 2001 Ted Gruber Software, Inc.