ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_glyph_dims_t Struct Reference

Per-cell user descriptor: the rendered glyph dimensions. More...

#include <ra8_glyph_atlas.h>

Data Fields

uint16_t w
 Rendered glyph width in pixels.
uint16_t h
 Rendered glyph height in pixels.

Detailed Description

Per-cell user descriptor: the rendered glyph dimensions.

The render callback writes the rasterised glyph's width/height here; ra8_glyph_atlas_get reads them back into ra8_glyph_t. Treat as private; the cache owns the contents.

Since
0.1.0

Definition at line 89 of file ra8_glyph_atlas.h.

Field Documentation

◆ h

uint16_t ra8_glyph_dims_t::h

Rendered glyph height in pixels.

Definition at line 91 of file ra8_glyph_atlas.h.

Referenced by internal_glyph_render(), and ra8_glyph_atlas_get().

◆ w

uint16_t ra8_glyph_dims_t::w

Rendered glyph width in pixels.

Definition at line 90 of file ra8_glyph_atlas.h.

Referenced by internal_glyph_render(), and ra8_glyph_atlas_get().


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