|
CairoMatrix::initRotatecairo_matrix_init_rotateCreates a new rotated matrix DescriptionObject oriented style (method):
public static void CairoMatrix::initRotate
( float
$radians
)Procedural style:
object cairo_matrix_init_rotate
( float
$radians
)Creats a new matrix to a transformation that rotates by radians provided 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
|