VKVG  
Vulkan Vector Graphics
Data Fields
vkvg_matrix_t Struct Reference

vkvg matrix structure More...

#include <vkvg.h>

Data Fields

float xx
 
float yx
 
float xy
 
float yy
 
float x0
 
float y0
 

Detailed Description

A vkvg_matrix_t holds an affine transformation, such as a scale, rotation, shear, or a combination of those. The transformation of a point (x, y) is given by:

x_new = xx * x + xy * y + x0;
y_new = yx * x + yy * y + y0;
float yy
Definition: vkvg.h:372
float x0
Definition: vkvg.h:373
float xy
Definition: vkvg.h:372
float yx
Definition: vkvg.h:371
float xx
Definition: vkvg.h:371
float y0
Definition: vkvg.h:373

@xx: xx component of the affine transformation @yx: yx component of the affine transformation @xy: xy component of the affine transformation @yy: yy component of the affine transformation @x0: X translation component of the affine transformation @y0: Y translation component of the affine transformation

Definition at line 370 of file vkvg.h.


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