Kohi Game Engine
font_data Struct Reference

#include <resource_types.h>

Data Fields

font_type type
 
char face [256]
 
u32 size
 
i32 line_height
 
i32 baseline
 
i32 atlas_size_x
 
i32 atlas_size_y
 
texture_map atlas
 
u32 glyph_count
 
font_glyphglyphs
 
u32 kerning_count
 
font_kerningkernings
 
f32 tab_x_advance
 
u32 internal_data_size
 
void * internal_data
 

Field Documentation

◆ atlas

texture_map atlas

◆ atlas_size_x

i32 atlas_size_x

◆ atlas_size_y

i32 atlas_size_y

◆ baseline

i32 baseline

◆ face

char face[256]

◆ glyph_count

u32 glyph_count

◆ glyphs

font_glyph* glyphs

◆ internal_data

void* internal_data

◆ internal_data_size

u32 internal_data_size

◆ kerning_count

u32 kerning_count

◆ kernings

font_kerning* kernings

◆ line_height

i32 line_height

◆ size

u32 size

◆ tab_x_advance

f32 tab_x_advance

◆ type

font_type type

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