ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
svg_utf_t Struct Reference

A user transform= as a full 2x3 affine matrix. More...

#include <reflow_svg_internal.h>

Data Fields

float a
 Row0 col0 (x scale).
float b
 Row1 col0 (y shear).
float c
 Row0 col1 (x shear).
float d
 Row1 col1 (y scale).
float e
 X translate.
float f
 Y translate.

Detailed Description

A user transform= as a full 2x3 affine matrix.

A point (x,y) maps to (a*x+c*y+e, b*x+d*y+f). translate, scale, rotate, skewX/Y, and matrix are all representable and closed under composition (internal_utf_compose), so a transform list and nested <g> groups collapse to one of these. The axis-aligned subset (b==0 && c==0) reproduces the legacy scale+translate render byte-for-byte.

Definition at line 102 of file reflow_svg_internal.h.

Field Documentation

◆ a

float svg_utf_t::a

Row0 col0 (x scale).

Definition at line 103 of file reflow_svg_internal.h.

Referenced by internal_utf_compose(), internal_xform_with_group(), and priv_ra8_svgp_apply_xform().

◆ b

float svg_utf_t::b

Row1 col0 (y shear).

Definition at line 104 of file reflow_svg_internal.h.

Referenced by internal_utf_compose(), internal_xform_with_group(), and priv_ra8_svgp_apply_xform().

◆ c

float svg_utf_t::c

Row0 col1 (x shear).

Definition at line 105 of file reflow_svg_internal.h.

Referenced by internal_utf_compose(), internal_xform_with_group(), and priv_ra8_svgp_apply_xform().

◆ d

float svg_utf_t::d

Row1 col1 (y scale).

Definition at line 106 of file reflow_svg_internal.h.

Referenced by internal_utf_compose(), internal_xform_with_group(), and priv_ra8_svgp_apply_xform().

◆ e

float svg_utf_t::e

X translate.

Definition at line 107 of file reflow_svg_internal.h.

Referenced by internal_utf_compose(), internal_xform_with_group(), and priv_ra8_svgp_apply_xform().

◆ f

float svg_utf_t::f

Y translate.

Definition at line 108 of file reflow_svg_internal.h.

Referenced by internal_utf_compose(), internal_xform_with_group(), and priv_ra8_svgp_apply_xform().


The documentation for this struct was generated from the following file: