|
CairoMatrix::initIdentitycairo_matrix_init_identityCreates a new identity matrix DescriptionObject oriented style (method):
public static void CairoMatrix::initIdentity
( void
)
Procedural 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 change ParametersThis function has no parameters. Return ValuesReturns a new CairoMatrix object that can be used with surfaces, contexts, and patterns. Examples
Example #1 Object oriented style
<?php
Example #2 Procedural style
<?php See Also
|