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 void initScale
(
float $sx
,
float $sy
)
public void rotate
(
string $sx
,
string $sy
)
public void scale
(
float $sx
,
float $sy
)
public void translate
(
string $tx
,
string $ty
)
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.