cairo_matrix_create_scale(3) php man page | unix.com

Man Page: cairo_matrix_create_scale

Operating Environment: php

Section: 3

CAIRO_MATRIX_CREATE_SCALE(3)						 1					      CAIRO_MATRIX_CREATE_SCALE(3)

CairoMatrix::initScale - Creates a new scaling matrix

       Object oriented style (method):

SYNOPSIS
publicstatic void CairoMatrix::initScale (float $sx, float $sy)
DESCRIPTION
Procedural style: object cairo_matrix_init_scale (float $sx, float $sy) Creates a new matrix to a transformation that scales by sx and sy in the X and Y dimensions, respectively.
PARAMETERS
o $sx - scale factor in the X direction o $sy - scale factor in the Y 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::initScale(1.0, 2.0); ?> Example #2 Procedural style <?php /* Create a new Matrix */ $matrix = cairo_matrix_init_scale(1.0, 2.0); ?>
SEE ALSO
CairoMatrix::__construct, CairoMatrix::initIdentity, CairoMatrix::initRotate, CairoMatrix::initTranslate. PHP Documentation Group CAIRO_MATRIX_CREATE_SCALE(3)
Related Man Pages
cairo_available_surfaces(3) - php
cairo_curve_to(3) - php
cairo_available_fonts(3) - php
cairo_clip_extents(3) - php
cairo_get_current_point(3) - php
Similar Topics in the Unix Linux Community
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!