Previous: 4.53.2.1.5. init() To the Table of Contents Next: 4.53.2.1.7. load()
4.53.2.1.5. init() Table of Contents 4.53.2.1.7. load()

- 4.53.2.1.6. -
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.6. justifyText()


4.53.2.1.6. justifyText()

Targets: MS-DOS, Win32 console


ogFont Unit

Displays a string with text justification

Declaration:
  procedure justifyText(var buf:ogSurface; horiz, vert:uInt8; const textString:string);
Remarks:

Displays a string to an ogSurface using the horizontal and vertical justification settings.

The if the background colour of the font is the same colour as the transparent colour of the surface only the foreground colour pixels will be displayed.

See also:







Previous: 4.53.2.1.5. init() To the Table of Contents Next: 4.53.2.1.7. load()
4.53.2.1.5. init() Table of Contents 4.53.2.1.7. load()

- 4.53.2.1.6. -