Font.Char

Struct containing information about one character

Members

Variables

chnl
Channels chnl;

The texture channel where the character image is found

height
ushort height;

The height of the character image in the texture

id
dchar id;

The character id

page
ubyte page;

The texture page where the character image is found

width
ushort width;

The width of the character image in the texture

x
ushort x;

The left position of the character image in the texture

xadvance
short xadvance;

How much the current position should be advanced after drawing the character

xoffset
short xoffset;

How much the current position should be offset when copying the image from the texture to the screen

y
ushort y;

The top position of the character image in the texture

yoffset
short yoffset;

How much the current position should be offset when copying the image from the texture to the screen

Meta