|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Mutable state carried through the layout loop. More...
#include <reflow_layout_internal.h>
Data Fields | |
| int32_t | x |
| Pixel column for next glyph. | |
| int32_t | y |
| Pixel row baseline for next glyph. | |
| int32_t | line_top |
| Pixel row of the current line's top. | |
| uint16_t | line_height_px |
| Active line height in pixels. | |
| uint16_t | active_font_px |
| Active font size (body or heading). | |
| uint8_t | active_style |
| Active inline-style stamp. | |
| uint16_t | indent_px |
| Active left indent (li, blockquote). | |
| uint32_t | page_first_glyph |
| First glyph index of the active page. | |
| uint32_t | page_first_image |
| First image-box index of the active page. | |
| uint32_t | line_first_glyph |
| First glyph index of the active line. | |
| uint8_t | line_has_content |
| 1 once any glyph landed on this line. | |
| uint8_t | align |
| Active block alignment (reflow_align_t). | |
| uint8_t | reserved8 [2] |
| Padding. | |
Mutable state carried through the layout loop.
Definition at line 65 of file reflow_layout_internal.h.
| uint16_t priv_cursor_t::active_font_px |
Active font size (body or heading).
Definition at line 70 of file reflow_layout_internal.h.
Referenced by internal_close_block(), internal_emit_char(), internal_layout_text(), and internal_open_block().
| uint8_t priv_cursor_t::active_style |
Active inline-style stamp.
Definition at line 71 of file reflow_layout_internal.h.
Referenced by internal_emit_char(), and priv_reflow_layout_apply_token().
| uint8_t priv_cursor_t::align |
Active block alignment (reflow_align_t).
Definition at line 77 of file reflow_layout_internal.h.
Referenced by internal_finish_line(), internal_open_block(), and priv_reflow_layout_table().
| uint16_t priv_cursor_t::indent_px |
Active left indent (li, blockquote).
Definition at line 72 of file reflow_layout_internal.h.
Referenced by internal_close_block(), internal_image_record(), internal_open_block(), priv_reflow_layout_finish_page(), priv_reflow_layout_newline(), and priv_reflow_layout_table().
| uint32_t priv_cursor_t::line_first_glyph |
First glyph index of the active line.
Definition at line 75 of file reflow_layout_internal.h.
Referenced by internal_finish_line(), priv_reflow_layout_finish_page(), priv_reflow_layout_newline(), and priv_reflow_layout_table().
| uint8_t priv_cursor_t::line_has_content |
1 once any glyph landed on this line.
Definition at line 76 of file reflow_layout_internal.h.
Referenced by internal_apply_image_placeholder(), internal_apply_rule(), internal_close_block(), internal_emit_char(), internal_image_record(), internal_layout_text(), internal_open_block(), internal_place_image(), priv_reflow_layout_finish_page(), priv_reflow_layout_newline(), and priv_reflow_layout_table().
| uint16_t priv_cursor_t::line_height_px |
Active line height in pixels.
Definition at line 69 of file reflow_layout_internal.h.
Referenced by internal_close_block(), internal_open_block(), internal_place_image(), and priv_reflow_layout_newline().
| int32_t priv_cursor_t::line_top |
Pixel row of the current line's top.
Definition at line 68 of file reflow_layout_internal.h.
Referenced by internal_apply_rule(), internal_close_block(), internal_image_record(), priv_reflow_layout_finish_page(), priv_reflow_layout_newline(), and priv_reflow_layout_table().
| uint32_t priv_cursor_t::page_first_glyph |
First glyph index of the active page.
Definition at line 73 of file reflow_layout_internal.h.
Referenced by internal_layout_tokens(), internal_page_has_content(), and priv_reflow_layout_finish_page().
| uint32_t priv_cursor_t::page_first_image |
First image-box index of the active page.
Definition at line 74 of file reflow_layout_internal.h.
Referenced by internal_layout_tokens(), internal_page_has_content(), and priv_reflow_layout_finish_page().
| uint8_t priv_cursor_t::reserved8[2] |
Padding.
Definition at line 78 of file reflow_layout_internal.h.
| int32_t priv_cursor_t::x |
Pixel column for next glyph.
Definition at line 66 of file reflow_layout_internal.h.
Referenced by internal_apply_image_placeholder(), internal_close_block(), internal_emit_char(), internal_finish_line(), internal_image_record(), internal_layout_text(), internal_open_block(), priv_reflow_layout_finish_page(), priv_reflow_layout_newline(), and priv_reflow_layout_table().
| int32_t priv_cursor_t::y |
Pixel row baseline for next glyph.
Definition at line 67 of file reflow_layout_internal.h.
Referenced by internal_apply_rule(), internal_close_block(), internal_emit_char(), internal_image_record(), internal_layout_row(), internal_open_block(), internal_place_image(), priv_reflow_layout_finish_page(), priv_reflow_layout_newline(), and priv_reflow_layout_table().