A simple graphic state class which holds the current transformation matrix.
More...
A simple graphic state class which holds the current transformation matrix.
◆ __construct()
| GraphicsState::__construct |
( |
Matrix | $ctm = null | ) |
|
◆ add()
| GraphicsState::add |
( |
Matrix | $matrix | ) |
|
◆ rotate()
| GraphicsState::rotate |
( |
| $x, |
|
|
| $y, |
|
|
| $angle ) |
- Parameters
-
| int | float | $x | |
| int | float | $y | |
| int | float | $angle | |
- Return values
-
◆ scale()
| GraphicsState::scale |
( |
| $scaleX, |
|
|
| $scaleY ) |
- Parameters
-
| int | float | $scaleX | |
| int | float | $scaleY | |
- Return values
-
◆ toUserSpace()
| GraphicsState::toUserSpace |
( |
Vector | $vector | ) |
|
◆ translate()
| GraphicsState::translate |
( |
| $shiftX, |
|
|
| $shiftY ) |
- Parameters
-
| int | float | $shiftX | |
| int | float | $shiftY | |
- Return values
-
The documentation for this class was generated from the following file:
- mod/assign/feedback/editpdf/fpdi/GraphicsState.php