Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::Canvas::AffineTransform2x3 Struct Reference

Affine 2x3 transform snapshot, six floats laid out as CanvasRenderingContext2D.setTransform / DOMMatrix: [ a c e ] [ b d f ] [ 0 0 1 ] Identity is {1, 0, 0, 1, 0, 0}. More...

#include <canvas.hpp>

Public Attributes

float a = 1.0f
float b = 0.0f
float c = 0.0f
float d = 1.0f
float e = 0.0f
float f = 0.0f

Detailed Description

Affine 2x3 transform snapshot, six floats laid out as CanvasRenderingContext2D.setTransform / DOMMatrix: [ a c e ] [ b d f ] [ 0 0 1 ] Identity is {1, 0, 0, 1, 0, 0}.

Member Data Documentation

◆ a

float pulp::canvas::Canvas::AffineTransform2x3::a = 1.0f

◆ b

float pulp::canvas::Canvas::AffineTransform2x3::b = 0.0f

◆ c

float pulp::canvas::Canvas::AffineTransform2x3::c = 0.0f

◆ d

float pulp::canvas::Canvas::AffineTransform2x3::d = 1.0f

◆ e

float pulp::canvas::Canvas::AffineTransform2x3::e = 0.0f

◆ f

float pulp::canvas::Canvas::AffineTransform2x3::f = 0.0f

The documentation for this struct was generated from the following file:
  • /home/runner/work/pulp/pulp/core/canvas/include/pulp/canvas/canvas.hpp