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

SVG-user-space -> framebuffer-box coordinate transform. More...

#include <reflow_svg_internal.h>

Collaboration diagram for svg_xform_t:

Data Fields

int32_t bx
 Box left.
int32_t by
 Box top.
int32_t bw
 Box width.
int32_t bh
 Box height.
int32_t vx
 viewBox min-x.
int32_t vy
 viewBox min-y.
int32_t vw
 viewBox width.
int32_t vh
 viewBox height.
float ua
 Affine a (x scale; 1 = identity).
float ub
 Affine b (y shear; 0 = axis-aligned).
float uc
 Affine c (x shear; 0 = axis-aligned).
float ud
 Affine d (y scale; 1 = identity).
float ue
 Affine e (x translate, user units).
float uf
 Affine f (y translate, user units).
const svg_grads_tgrads
 Document gradient set, or NULL.

Detailed Description

SVG-user-space -> framebuffer-box coordinate transform.

Definition at line 118 of file reflow_svg_internal.h.

Field Documentation

◆ bh

int32_t svg_xform_t::bh

Box height.

Definition at line 122 of file reflow_svg_internal.h.

Referenced by internal_read_viewbox(), priv_ra8_svgp_map_point(), and priv_ra8_svgp_my().

◆ bw

int32_t svg_xform_t::bw

◆ bx

int32_t svg_xform_t::bx

Box left.

Definition at line 119 of file reflow_svg_internal.h.

Referenced by priv_ra8_svgp_map_point(), and priv_ra8_svgp_mx().

◆ by

int32_t svg_xform_t::by

Box top.

Definition at line 120 of file reflow_svg_internal.h.

Referenced by priv_ra8_svgp_map_point(), and priv_ra8_svgp_my().

◆ grads

◆ ua

float svg_xform_t::ua

◆ ub

float svg_xform_t::ub

◆ uc

float svg_xform_t::uc

◆ ud

float svg_xform_t::ud

◆ ue

float svg_xform_t::ue

◆ uf

float svg_xform_t::uf

◆ vh

int32_t svg_xform_t::vh

viewBox height.

Definition at line 126 of file reflow_svg_internal.h.

Referenced by internal_read_viewbox(), priv_ra8_svgp_map_point(), and priv_ra8_svgp_my().

◆ vw

int32_t svg_xform_t::vw

viewBox width.

Definition at line 125 of file reflow_svg_internal.h.

Referenced by internal_read_viewbox(), priv_ra8_svgp_map_point(), priv_ra8_svgp_mx(), and priv_ra8_svgp_sx().

◆ vx

int32_t svg_xform_t::vx

viewBox min-x.

Definition at line 123 of file reflow_svg_internal.h.

Referenced by internal_read_viewbox(), priv_ra8_svgp_map_point(), and priv_ra8_svgp_mx().

◆ vy

int32_t svg_xform_t::vy

viewBox min-y.

Definition at line 124 of file reflow_svg_internal.h.

Referenced by internal_read_viewbox(), priv_ra8_svgp_map_point(), and priv_ra8_svgp_my().


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