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

One positioned glyph after layout. More...

#include <reflow_types.h>

Data Fields

int32_t x
 Pixel column of glyph baseline-left.
int32_t y
 Pixel row of glyph baseline.
int32_t cp
 Unicode code point.
uint32_t color
 32-bit RGB colour.
uint16_t font_px
 Pixel size used for this glyph.
uint8_t style
 Font-style bitmask.
uint8_t reserved
 Padding.

Detailed Description

One positioned glyph after layout.

Stored per-page so render is a flat walk. cp is a Unicode code point (only ASCII is exercised by v1); font_px lets headings and body text mix on the same page without re-scanning style state.

Definition at line 241 of file reflow_types.h.

Field Documentation

◆ color

uint32_t reflow_glyph_t::color

◆ cp

◆ font_px

uint16_t reflow_glyph_t::font_px

◆ reserved

uint8_t reflow_glyph_t::reserved

◆ style

uint8_t reflow_glyph_t::style

◆ x

◆ y


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