|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Running cursor state while parsing a <path> d string. More...
Data Fields | |
| int32_t | cx |
| Current point X (user space). | |
| int32_t | cy |
| Current point Y (user space). | |
| svg_pt_t | ctrl |
| Last control (abs): quad ctrl (Q/T) or cubic ctrl2 (C/S). | |
| char | kind |
| 'q' if the last command was Q/T, 'c' if C/S, else 0. | |
Running cursor state while parsing a <path> d string.
Carries the current point plus the previous curve's last control point and kind, so the smooth commands S/s and T/t can reflect it.
Definition at line 261 of file reflow_svg_path.c.
| svg_pt_t path_state_t::ctrl |
Last control (abs): quad ctrl (Q/T) or cubic ctrl2 (C/S).
Definition at line 264 of file reflow_svg_path.c.
Referenced by internal_emit_cubic(), internal_emit_quad(), and internal_smooth_ctrl().
| int32_t path_state_t::cx |
Current point X (user space).
Definition at line 262 of file reflow_svg_path.c.
Referenced by internal_emit_cubic(), internal_emit_quad(), internal_parse_path(), and internal_path_curve().
| int32_t path_state_t::cy |
Current point Y (user space).
Definition at line 263 of file reflow_svg_path.c.
Referenced by internal_emit_cubic(), internal_emit_quad(), internal_parse_path(), and internal_path_curve().
| char path_state_t::kind |
'q' if the last command was Q/T, 'c' if C/S, else 0.
Definition at line 265 of file reflow_svg_path.c.
Referenced by internal_emit_cubic(), internal_emit_quad(), internal_parse_path(), internal_path_curve(), and internal_smooth_ctrl().