Index

D-Type Text Layout Extension Structures

At present, D-Type Text Layout Engine defines and utilizes only one structure type:

DT_LX_GLYPH

This structure type contains information about a single positioned glyph.

/* Layout Extension's glyph structure describing a single positioned glyph */ 
typedef struct
{
    DT_ID_ULONG glyph_index; /* font dependent index of the glyph to be displayed */ 
    DT_SLONG char_index;     /* index to map the glyph back to the input text array */ 
                             /* (not char_code but character's position in the input text array) */ 
    DT_SLONG x, y;           /* x and y coordinate of the glyph in font units */ 
    DT_UBYTE use_xy;         /* tells whether (x, y) members should be respected, always set to 1 */ 
    DT_UBYTE flag;           /* special purpose internal flag, currently set to 0 */ 
    DT_UBYTE reserved_1;     /* reserved for future, currently set to 0 */ 
    DT_UBYTE reserved_2;     /* reserved for future, currently set to 0 */ 

} LX_GLYPH;

The structure members have the following purpose:

 

Index