PHP » GoLang |
login |
register |
about
|
GoLang CairoMatrix::scale
request it (375)
GoLang replacement for PHP's CairoMatrix::scale
[edit | history]
CairoMatrix::scalecairo_matrix_scale(PECL cairo >= 0.1.0) CairoMatrix::scale -- cairo_matrix_scale — Applies scaling to a matrix DescriptionObject oriented style (method):
public void CairoMatrix::scale
( float
$sx
, float $sy
)Procedural style: 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 |
more
Recently updated
more
Most requested
more
Last requests
|