Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
The CairoMatrix class
(Информация о версии неизвестна, возможно, только в SVN)
Введение
Matrices are used throughout cairo to convert between different coordinate spaces.
Обзор классов
CairoMatrix {
/* Методы */
__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 initIdentity ( void )
public static void initRotate ( float $radians )
public static void initScale ( float $sx , float $sy )
public static void initTranslate ( float $tx , float $ty )
public void invert ( void )
public static CairoMatrix multiply ( CairoMatrix $matrix1 , CairoMatrix $matrix2 )
public void rotate ( string $sx , string $sy )
public void scale ( float $sx , float $sy )
public array transformDistance ( string $dx , string $dy )
public array transformPoint ( string $dx , string $dy )
public void translate ( string $tx , string $ty )
}
Содержание
- CairoMatrix::__construct — Creates a new CairoMatrix object
- CairoMatrix::initIdentity — Creates a new identity matrix
- CairoMatrix::initRotate — Creates a new rotated matrix
- CairoMatrix::initScale — Creates a new scaling matrix
- CairoMatrix::initTranslate — Creates a new translation matrix
- CairoMatrix::invert — The invert purpose
- CairoMatrix::multiply — The multiply purpose
- CairoMatrix::rotate — The rotate purpose
- CairoMatrix::scale — Applies scaling to a matrix
- CairoMatrix::transformDistance — The transformDistance purpose
- CairoMatrix::transformPoint — The transformPoint purpose
- CairoMatrix::translate — The translate purpose
Описание класса cairomatrix, примеры использования класса cairomatrix.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru