naev 0.12.5
font_char_t Struct Reference

Stores a font character. More...

Data Fields

GLubyte * data
GLfloat * dataf
int w
int h
int ft_index
int off_x
int off_y
GLfloat adv_x
GLfloat m
int tx
int ty
int tw
int th

Detailed Description

Stores a font character.

Definition at line 87 of file font.c.

Field Documentation

◆ adv_x

GLfloat font_char_t::adv_x

X advancement on the screen.

Definition at line 95 of file font.c.

◆ data

GLubyte* font_char_t::data

Data of the character.

Definition at line 88 of file font.c.

◆ dataf

GLfloat* font_char_t::dataf

Float data of the character.

Definition at line 89 of file font.c.

◆ ft_index

int font_char_t::ft_index

HACK: Index into the array of fallback fonts.

Definition at line 92 of file font.c.

◆ h

int font_char_t::h

Height.

Definition at line 91 of file font.c.

◆ m

GLfloat font_char_t::m

Number of distance units corresponding to 1 "pixel".

Definition at line 96 of file font.c.

◆ off_x

int font_char_t::off_x

X offset when rendering.

Definition at line 93 of file font.c.

◆ off_y

int font_char_t::off_y

Y offset when rendering.

Definition at line 94 of file font.c.

◆ th

int font_char_t::th

Texture height.

Definition at line 100 of file font.c.

◆ tw

int font_char_t::tw

Texture width.

Definition at line 99 of file font.c.

◆ tx

int font_char_t::tx

Texture x position.

Definition at line 97 of file font.c.

◆ ty

int font_char_t::ty

Texture y position.

Definition at line 98 of file font.c.

◆ w

int font_char_t::w

Width.

Definition at line 90 of file font.c.


The documentation for this struct was generated from the following file: