ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
reflow_internal.h
Go to the documentation of this file.
1
15
16#pragma once
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#include <stddef.h>
23#include <stdint.h>
24
25#include "ra8_attributes.h"
26
59
97 int32_t advance,
98 int32_t right_limit,
99 uint8_t line_has_content);
100
131RA8_PRIV bool priv_reflow_internal_xhtml_invalid(const void* xhtml_buf, size_t xhtml_len);
132
163RA8_PRIV bool priv_reflow_internal_final_page_needed(uint32_t page_count, uint32_t token_count);
164
165#ifdef __cplusplus
166}
167#endif
Annotation-attribute framework macros for ra8-firmware.
#define RA8_PRIV
Module-private helper: shared across TUs but only inside one library.
bool priv_reflow_internal_is_indent_tag(uint8_t tag)
Return true iff tag is a tag that introduces / removes a block-level indent (currently <li> and <bloc...
bool priv_reflow_internal_final_page_needed(uint32_t page_count, uint32_t token_count)
Decide whether the layout pass produced zero pages but the token stream was non-empty (must synthesis...
bool priv_reflow_internal_xhtml_invalid(const void *xhtml_buf, size_t xhtml_len)
Decide whether the cached XHTML buffer pointer/length pair is unusable for a re-flow (NULL pointer OR...
bool priv_reflow_internal_right_overflow_break(int32_t cursor_x, int32_t advance, int32_t right_limit, uint8_t line_has_content)
Decide whether a glyph emission would overflow the right margin AND the current line already has cont...