update : 2015.11.03
php.shukuma.com검색:
|
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. 인수
예제
Example #1 객체 기반 형식
<?php
Example #2 절차식 형식
<?php |