$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
GlyphInfo Struct Reference

Metrics and texture coordinates for a single font character. More...

#include <ui.h>

Data Fields

float x0
 
float y0
 
float x1
 
float y1
 
float w
 
float h
 
float x_off
 
float y_off
 
float advance
 

Detailed Description

Metrics and texture coordinates for a single font character.

Field Documentation

◆ advance

float GlyphInfo::advance

Horizontal spacing to the next char.

◆ h

float GlyphInfo::h

Size in pixels.

◆ w

float GlyphInfo::w

◆ x0

float GlyphInfo::x0

◆ x1

float GlyphInfo::x1

◆ x_off

float GlyphInfo::x_off

◆ y0

float GlyphInfo::y0

◆ y1

float GlyphInfo::y1

Normalized texture coordinates.

◆ y_off

float GlyphInfo::y_off

Rendering offsets.


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