PatchworkOS
Loading...
Searching...
No Matches
grf_t Struct Reference

#include <grf.h>

Data Fields

uint32_t magic
 
int16_t ascender
 
int16_t descender
 
int16_t height
 
uint32_t glyphOffsets [256]
 
uint32_t kernOffsets [256]
 
uint8_t buffer []
 

Detailed Description

Definition at line 28 of file grf.h.

Field Documentation

◆ ascender

int16_t grf_t::ascender

◆ buffer

uint8_t grf_t::buffer[]

◆ descender

int16_t grf_t::descender

Definition at line 32 of file grf.h.

Referenced by draw_calculate_aligned_text_pos(), draw_string(), draw_text(), and draw_text_multiline().

◆ glyphOffsets

uint32_t grf_t::glyphOffsets[256]

Definition at line 34 of file grf.h.

Referenced by draw_grf_char(), draw_string(), draw_text_multiline(), font_new(), and font_width().

◆ height

int16_t grf_t::height

Definition at line 33 of file grf.h.

Referenced by font_height().

◆ kernOffsets

uint32_t grf_t::kernOffsets[256]

Definition at line 36 of file grf.h.

Referenced by font_kerning_offset(), and font_new().

◆ magic

uint32_t grf_t::magic

Definition at line 30 of file grf.h.

Referenced by font_new().


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