|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
A declared or computed style: a presence mask plus property values. More...
#include <reflow_css.h>
Data Fields | |
| uint8_t | set |
| ra8_css_set_t bitmask: which properties are present. | |
| uint8_t | style |
| reflow_font_style_t bit VALUES (bold/italic/ul). | |
| uint8_t | align |
| reflow_align_t (valid iff set & align). | |
| uint8_t | font_unit |
| ra8_css_font_unit_t (valid iff set & fontsize). | |
| uint32_t | color |
| 0xRRGGBB text colour (valid iff set & color). | |
| uint16_t | font_val |
| font-size number: px or % (valid iff set & fontsize). | |
| uint8_t | display |
| 1 = display:none (valid iff set & display). | |
| uint8_t | pad |
| Padding. | |
| uint16_t | family_off |
| font-family name slice offset (valid iff set&family). | |
| uint16_t | family_len |
| font-family name slice length (0 = none). | |
A declared or computed style: a presence mask plus property values.
style holds the bold / italic / underline VALUES as reflow_font_style_t bits (a set bit = "on"); align holds an reflow_align_t. A field is only meaningful when its ra8_css_set_t bit is present in set.
Definition at line 122 of file reflow_css.h.
| uint8_t ra8_css_style_t::align |
reflow_align_t (valid iff set & align).
Definition at line 125 of file reflow_css.h.
Referenced by internal_apply_align(), internal_cascade_scalars(), and internal_open_attrs().
| uint32_t ra8_css_style_t::color |
0xRRGGBB text colour (valid iff set & color).
Definition at line 127 of file reflow_css.h.
Referenced by internal_apply_decl(), internal_cascade_scalars(), and internal_open_styled().
| uint8_t ra8_css_style_t::display |
1 = display:none (valid iff set & display).
Definition at line 129 of file reflow_css.h.
Referenced by internal_apply_decl(), internal_cascade_scalars(), and internal_open_styled().
| uint16_t ra8_css_style_t::family_len |
font-family name slice length (0 = none).
Definition at line 132 of file reflow_css.h.
Referenced by internal_cascade_family(), internal_family_cb(), internal_open_styled(), and priv_reflow_tok_resolve_face_slot().
| uint16_t ra8_css_style_t::family_off |
font-family name slice offset (valid iff set&family).
Definition at line 131 of file reflow_css.h.
Referenced by internal_cascade_family(), internal_family_cb(), internal_open_styled(), and priv_reflow_tok_resolve_face_slot().
| uint8_t ra8_css_style_t::font_unit |
ra8_css_font_unit_t (valid iff set & fontsize).
Definition at line 126 of file reflow_css.h.
Referenced by internal_apply_decl(), internal_cascade_scalars(), and internal_css_font_px().
| uint16_t ra8_css_style_t::font_val |
font-size number: px or % (valid iff set & fontsize).
Definition at line 128 of file reflow_css.h.
Referenced by internal_apply_decl(), internal_cascade_scalars(), and internal_css_font_px().
| uint8_t ra8_css_style_t::pad |
Padding.
Definition at line 130 of file reflow_css.h.
| uint8_t ra8_css_style_t::set |
ra8_css_set_t bitmask: which properties are present.
Definition at line 123 of file reflow_css.h.
Referenced by internal_apply_align(), internal_apply_decl(), internal_cascade_emphasis(), internal_cascade_family(), internal_cascade_scalars(), internal_css_font_px(), internal_family_cb(), internal_open_attrs(), internal_open_styled(), internal_resolve(), internal_set_emphasis(), and priv_reflow_tok_resolve_face_slot().
| uint8_t ra8_css_style_t::style |
reflow_font_style_t bit VALUES (bold/italic/ul).
Definition at line 124 of file reflow_css.h.
Referenced by internal_cascade_emphasis(), internal_open_styled(), internal_set_emphasis(), and priv_reflow_tok_resolve_face_slot().