php man page for cairo_matrix_init_rotate

Query: cairo_matrix_init_rotate

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CAIRO_MATRIX_INIT_ROTATE(3)						 1					       CAIRO_MATRIX_INIT_ROTATE(3)

CairoMatrix::initRotate - Creates a new rotated matrix

       Object oriented style (method):

SYNOPSIS
publicstatic void CairoMatrix::initRotate (float $radians)
DESCRIPTION
Procedural style: object cairo_matrix_init_rotate (float $radians) Creats a new matrix to a transformation that rotates by radians provided
PARAMETERS
o $radians - angle of rotation, in radians. The direction of rotation is defined such that positive angles rotate in the direction from the positive X axis toward the positive Y axis. With the default axis orientation of cairo, positive angles rotate in a clockwise direction.
RETURN VALUES
Returns a new CairoMatrix object that can be used with surfaces, contexts, and patterns.
EXAMPLES
Example #1 Object oriented style <?php /* Create a new Matrix */ $matrix = CairoMatrix::initRotate(0.3); ?> Example #2 Procedural style <?php /* Create a new Matrix */ $matrix = cairo_matrix_init_rotate(0.3); ?>
SEE ALSO
CairoMatrix::__construct, CairoMatrix::initIdentity, CairoMatrix::initScale, CairoMatrix::initTranslate. PHP Documentation Group CAIRO_MATRIX_INIT_ROTATE(3)
Related Man Pages
get_rotation_matrix_f(3alleg4) - debian
get_rotation_matrix(3alleg4) - suse
get_rotation_matrix_f(3alleg4) - suse
get_rotation_matrix(3alleg4) - redhat
get_rotation_matrix(3alleg4) - mojave
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch