VKVG  
Vulkan Vector Graphics
Loading...
Searching...
No Matches
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:384
float x0
Definition vkvg.h:385
float xy
Definition vkvg.h:383
float yx
Definition vkvg.h:382
float xx
Definition vkvg.h:381
float y0
Definition vkvg.h:386

@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 380 of file vkvg.h.


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