|
CairoMatrix::scalecairo_matrix_scaleApplies scaling to a matrix BeschreibungObjektorientierter Stil (method):
public void CairoMatrix::scale
( float
$sx
, float $sy
)Prozeduraler Stil:
void cairo_matrix_scale
( CairoContext
$context
, float $sx
, float $sy
)Applies scaling by sx, sy to the transformation in the matrix. The effect of the new transformation is to first scale the coordinates by sx and sy, then apply the original transformation to the coordinates. Parameter-Liste
Beispiele
Beispiel #1 Objektorientierter Stil
<?php
Beispiel #2 Prozeduraler Stil
<?phpSiehe auch
|