Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_cairo_matrix Struct Reference

#include <cairo.h>

Data Fields

double xx
 
double yx
 
double xy
 
double yy
 
double x0
 
double y0
 

Detailed Description

cairo_matrix_t: @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

A cairo_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: <programlisting> x_new = xx * x + xy * y + x0; y_new = yx * x + yy * y + y0; </programlisting>

Since: 1.0

Definition at line 201 of file cairo.h.

Field Documentation

◆ x0

double _cairo_matrix::x0

Definition at line 204 of file cairo.h.

◆ xx

double _cairo_matrix::xx

Definition at line 202 of file cairo.h.

◆ xy

double _cairo_matrix::xy

Definition at line 203 of file cairo.h.

◆ y0

double _cairo_matrix::y0

Definition at line 204 of file cairo.h.

◆ yx

double _cairo_matrix::yx

Definition at line 202 of file cairo.h.

◆ yy

double _cairo_matrix::yy

Definition at line 203 of file cairo.h.


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