|
@@ 1173-1174 (lines=2) @@
|
| 1170 |
|
{ |
| 1171 |
|
// load the last Transfomation Matrix |
| 1172 |
|
$nb = count($this->_transf); |
| 1173 |
|
if ($nb) $m = $this->_transf[$nb - 1]; |
| 1174 |
|
else $m = array(1, 0, 0, 1, 0, 0); |
| 1175 |
|
|
| 1176 |
|
// apply the Transformation Matrix |
| 1177 |
|
list($x, $y) = array(($x * $m[0] + $y * $m[2] + $m[4]), ($x * $m[1] + $y * $m[3] + $m[5])); |
|
@@ 1198-1199 (lines=2) @@
|
| 1195 |
|
{ |
| 1196 |
|
// get the last Transformation Matrix |
| 1197 |
|
$nb = count($this->_transf); |
| 1198 |
|
if ($nb) $m = $this->_transf[$nb - 1]; |
| 1199 |
|
else $m = array(1, 0, 0, 1, 0, 0); |
| 1200 |
|
|
| 1201 |
|
// if no transform, get the Identity Matrix |
| 1202 |
|
if ( ! $n) $n = array(1, 0, 0, 1, 0, 0); |