Query: cairo_matrix_init_scale
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CAIRO_MATRIX_INIT_SCALE(3) 1 CAIRO_MATRIX_INIT_SCALE(3) CairoMatrix::initScale - Creates a new scaling matrix Object oriented style (method):SYNOPSISpublicstatic void CairoMatrix::initScale (float $sx, float $sy)DESCRIPTIONProcedural 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.PARAMETERSo $sx - scale factor in the X direction o $sy - scale factor in the Y directionRETURN 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::initScale(1.0, 2.0); ?> Example #2 Procedural style <?php /* Create a new Matrix */ $matrix = cairo_matrix_init_scale(1.0, 2.0); ?>SEE ALSOCairoMatrix::__construct, CairoMatrix::initIdentity, CairoMatrix::initRotate, CairoMatrix::initTranslate. PHP Documentation Group CAIRO_MATRIX_INIT_SCALE(3)
Related Man Pages |
---|
datetime.format(3) - php |
cairo_arc(3) - php |
cairo_copy_path(3) - php |
cairo_available_fonts(3) - php |
cairo_clip_extents(3) - php |
Similar Topics in the Unix Linux Community |
---|
UNIX.COM 2017 Year End Summary |
New Code Tags (Syntax Highlighting) |
Please Welcome Don Cragun as Lead Moderator |
Denial Of Service Attack Update |