CairoMatrix::scalecairo_matrix_scale(PECL cairo >= 0.1.0) CairoMatrix::scale -- cairo_matrix_scale — Applies scaling to a matrix ОписаниеОбъектно-ориентированный стиль (method):
public void CairoMatrix::scale
( 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. Список параметров
Примеры
Пример #1 Объектно-ориентированный стиль
<?php
Пример #2 Процедурный стиль
<?php |
||