|
CairoMatrix::initScalecairo_matrix_init_scalecairo_matrix_create_scaleCreates a new scaling matrix BeschreibungObjektorientierter Stil (method):
public static void CairoMatrix::initScale
( float
$sx
, float $sy
)Prozeduraler Stil:
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. Parameter-Liste
RückgabewerteReturns a new CairoMatrix object that can be used with surfaces, contexts, and patterns. Beispiele
Beispiel #1 Objektorientierter Stil
<?php
Beispiel #2 Prozeduraler Stil
<?phpSiehe auch
|