Query: cairo_matrix_init_identity
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CAIRO_MATRIX_INIT_IDENTITY(3) 1 CAIRO_MATRIX_INIT_IDENTITY(3) CairoMatrix::initIdentity - Creates a new identity matrix Object oriented style (method):SYNOPSISpublicstatic void CairoMatrix::initIdentity (void )DESCRIPTIONProcedural style: object cairo_matrix_init_identity (void ) Creates a new matrix that is an identity transformation. An identity transformation means the source data is copied into the destination data without changePARAMETERSThis function has no parameters.RETURN VALUESReturns a new CairoMatrix object that can be used with surfaces, contexts, and patterns.EXAMPLESExample #1 Object oriented style <?php /* Create a new Matrix */ $matrix = CairoMatrix::initIdentity(); ?> Example #2 Procedural style <?php /* Create a new Matrix */ $matrix = cairo_matrix_init_identity(); ?>SEE ALSOCairoMatrix::__construct, CairoMatrix::initRotate, CairoMatrix::initScale, CairoMatrix::initTranslate. PHP Documentation Group CAIRO_MATRIX_INIT_IDENTITY(3)