|
CairoMatrix::scalecairo_matrix_scaleApplies scaling to a matrix DescriptionObject oriented style (method):
public void CairoMatrix::scale
( float
$sx
, float $sy
)Procedural style:
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. Parameters
Examples
Example #1 Object oriented style
<?php
Example #2 Procedural style
<?php See Also
|