CairoMatrix::__construct cairo_matrix_init Creates a new CairoMatrix object &reftitle.description; &style.oop; (method): public CairoMatrix::__construct floatxx1.0 floatyx0.0 floatxy0.0 floatyy1.0 floatx00.0 floaty00.0 &style.procedural;: objectcairo_matrix_init floatxx1.0 floatyx0.0 floatxy0.0 floatyy1.0 floatx00.0 floaty00.0 Returns new CairoMatrix object. Matrices are used throughout cairo to convert between different coordinate spaces. Sets matrix to be the affine transformation given by xx, yx, xy, yy, x0, y0. The transformation is given by: x_new = xx * x + xy * y + x0; and y_new = yx * x + yy * y + y0; &reftitle.parameters; 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 &reftitle.returnvalues; Returns a new CairoMatrix object that can be used with surfaces, contexts, and patterns. &reftitle.examples; &style.oop; ]]> &style.procedural; ]]> &reftitle.seealso; CairoMatrix::initIdentity CairoMatrix::initRotate CairoMatrix::initScale CairoMatrix::initTranslate