略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: CairoMatrix

2024-12-26

The CairoMatrix class

(PECL cairo >= 0.1.0)

简介

Matrices are used throughout cairo to convert between different coordinate spaces.

类摘要

CairoMatrix {
/* 方法 */
public __construct ([ float $xx = 1.0 [, float $yx = 0.0 [, float $xy = 0.0 [, float $yy = 1.0 [, float $x0 = 0.0 [, float $y0 = 0.0 ]]]]]] )
public static initIdentity ( void ) : void
public static initRotate ( float $radians ) : void
public static initScale ( float $sx , float $sy ) : void
public static initTranslate ( float $tx , float $ty ) : void
public invert ( void ) : void
public static multiply ( CairoMatrix $matrix1 , CairoMatrix $matrix2 ) : CairoMatrix
public rotate ( float $radians ) : void
public scale ( float $sx , float $sy ) : void
public transformDistance ( float $dx , float $dy ) : array
public transformPoint ( float $dx , float $dy ) : array
public translate ( float $tx , float $ty ) : void
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.cairomatrix.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3