Global type definitions.

Global type definitions used in the FreeType library.

Copyright 1996, 1997 by David Turner, Robert Wilhelm, and Werner Lemberg.

For the OS/2 platform, the type is defined as an alias for the LongInt type. For all other platforms, it is an alias to the Integer type.

Signed Fixed Float value with 16 digits and 16 decimal places of precision.

Distance in FUnits.
Unsigned Distance.
Alias for the Integer type.

Signed fixed float 2.14 used for unary vectors, with layout:

| Name | Bits | Description
s | 1 | Sign bit
m | 1 | Mantissa bit
f | 14 | Unsigned fractional value

s and m represents the signed int value to which the positive fractional value f is added.

Alias for the LongInt type.

26.6 fixed float, used for pixel coordinates.

Alias for the LongInt type.

FUnits or 26.6 fixed float value, depending on context.

Flag which indicates if a Point is On a curve.

A simple unit vector type.

A simple vector type.

A simple 2x2 matrix type.

A bounding box for a glyph.

Kerning information between two glyphs.

The error condition type for the TrueType engine. 0 (zero) always means success.

Glyph outline description.
Array of point coordinates.
Array of point flags.
Array of contours ends.
Flag set when the outline owns the arrays it uses.
Glyph metrics structure.

Glyph metrics structure.

Big glyph metrics structure.

Big glyph metrics structure.

Instance metrics structure.

Instance metrics used to return information to a client with the state for the instance.

Describes a bitmap or pixmap to the rasterizer.

A record used to describe a bitmap or pixmap to the rasterizer.

Number of rows for the bitmap.
Numer of columns (bytes) per Row.
Number of pixels per Row.
Flow direction for the bitmap / pixmap.
Data for the bitmap / pixmap.
Size in bytes for the Data in the bitmap / pixmap.
TrueType font header table structure.

The TrueType font header table structure.

TrueType horizontal header table structure.

The TrueType horizontal header table structure.

Not part of the header in the file.
Not part of the header in the file.
TrueType vertical header table structure.

The TrueType vertical header table structure.

Not part of the header in the file.
Not part of the header in the file.
TrueType OS/2 table structure.

The TrueType OS/2 table structure.

Bits 0 - 31.
Bits 32 - 63.
Bits 64 - 95.
Bits 96 - 127.
In Version 1 tables only.
In Version 1 tables only.
In Version 2 tables only.
In Version 2 tables only.
In Version 2 tables only.
In Version 2 tables only.
In Version 2 tables only.
TrueType Postscript table structure.

The TrueType Postscript table structure.

Type 1 is the single-byte font and can support hinting. Type 42 is the PostScript wrapper for a TrueType font which relies on a rasterizer.

TrueType font face properties.

Used to report important properties for a font face to clients.

Object handle type for a Stream.
Object handle type for a Face.
Object handle type for a Glyph.
Object handle type for a Character Map.
Success is always 0.

Renders a Glyph to a bitmap.

Renders one glyph in the target bitmap (1-bit per pixel).

Renders one gray-level glyph in the target pixmap. Palette points to an array of 5 colors used for the rendering. Use Nil to reuse the last palette. Default is VGA graylevels.

The Int type is used for loop counters and indexes. Its size must be the one handled for a given platform or operating system. For 32-bit platforms, it is an alias for the LongInt type. For all other platforms, it is an alias to the Integer type.

Internal type for coordinates in the FreeType library.
Describes point zones in the interpreter

This type is used to describe each point zone in the TrueType interpreter.

Number of points.
Original coordinate arrays.
Original coordinate arrays.
Current coordinate arrays.
Current coordinate arrays.
Touch flags array.
Success value is always False (no error).
Failure value is always True (error has occurred).