Previous: 4.53.2.1.3. getHeight() To the Table of Contents Next: 4.53.2.1.5. init()
4.53.2.1.3. getHeight() Table of Contents 4.53.2.1.5. init()

- 4.53.2.1.4. -
Table of Contents
4. Standard Units
4.53. ogFont - BitFont support for ObjGfx 4.0
4.53.2. ogFont Unit Objects
4.53.2.1. ogBitFont object
4.53.2.1.4. getWidth()


4.53.2.1.4. getWidth()

Targets: MS-DOS, Win32 console


ogFont Unit

Retrieves the width.

Declaration:
 function getWidth:uInt32;
Remarks:

Retreives the width of a single character in pixels. Every character is the same width.

Return value:

Width of the font, or 0 if no font is loaded.

See also:







Previous: 4.53.2.1.3. getHeight() To the Table of Contents Next: 4.53.2.1.5. init()
4.53.2.1.3. getHeight() Table of Contents 4.53.2.1.5. init()

- 4.53.2.1.4. -