|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
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. | |
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.
| uint32_t reflow_glyph_t::color |
32-bit RGB colour.
Definition at line 245 of file reflow_types.h.
Referenced by internal_blit_alpha_mask(), internal_draw_underline(), internal_get_glyph(), internal_put_glyph(), and priv_reflow_layout_push_glyph().
| int32_t reflow_glyph_t::cp |
Unicode code point.
Definition at line 244 of file reflow_types.h.
Referenced by internal_blit_glyph(), internal_draw_underline(), internal_emit_link_rect(), internal_finish_line(), internal_get_glyph(), internal_glyph_render_cached(), internal_glyph_render_direct(), internal_justify_glyphs(), internal_put_glyph(), and priv_reflow_layout_push_glyph().
| uint16_t reflow_glyph_t::font_px |
Pixel size used for this glyph.
Definition at line 246 of file reflow_types.h.
Referenced by internal_blit_glyph(), internal_emit_link_rect(), internal_get_glyph(), internal_glyph_render_cached(), internal_put_glyph(), and priv_reflow_layout_push_glyph().
| uint8_t reflow_glyph_t::reserved |
Padding.
Definition at line 248 of file reflow_types.h.
Referenced by internal_get_glyph(), internal_put_glyph(), priv_reflow_layout_build_link_rects(), and priv_reflow_layout_push_glyph().
| uint8_t reflow_glyph_t::style |
Font-style bitmask.
Definition at line 247 of file reflow_types.h.
Referenced by internal_blit_glyph(), internal_get_glyph(), internal_put_glyph(), internal_render_page(), and priv_reflow_layout_push_glyph().
| int32_t reflow_glyph_t::x |
Pixel column of glyph baseline-left.
Definition at line 242 of file reflow_types.h.
Referenced by internal_blit_alpha_mask(), internal_draw_underline(), internal_emit_link_rect(), internal_finish_line(), internal_get_glyph(), internal_justify_glyphs(), internal_put_glyph(), and priv_reflow_layout_push_glyph().
| int32_t reflow_glyph_t::y |
Pixel row of glyph baseline.
Definition at line 243 of file reflow_types.h.
Referenced by internal_blit_alpha_mask(), internal_draw_underline(), internal_emit_link_rect(), internal_get_glyph(), internal_put_glyph(), priv_reflow_layout_build_link_rects(), and priv_reflow_layout_push_glyph().