Lines Matching refs:x
146 $this->font->horizAdvX = $z->getAttribute('horiz-adv-x');
163 $this->font->glyphs[$unicode]->horizAdvX = $z->getAttribute('horiz-adv-x');
198 * @param float $x
203 public function addText($text, $x = 0, $y = 0, $attributes = [])
207 if ($x != 0 || $y != 0) {
208 $def = $this->defTranslate($def, $x, $y);
343 * @param float $x
347 public function defTranslate($def, $x = 0, $y = 0)
349 return $this->defApplyMatrix($def, [1, 0, 0, 1, $x, $y]);
356 * @param integer $x X coordinate of rotation center
360 public function defRotate($def, $angle, $x = 0, $y = 0)
362 if ($x == 0 && $y == 0) {
368 $def = $this->defTranslate($def, $x, $y);
370 $def = $this->defTranslate($def, -$x, -$y);
377 * @param integer $x
381 public function defScale($def, $x = 1, $y = 1)
383 return $this->defApplyMatrix($def, [$x, 0, 0, $y, 0, 0]);
430 $x = (float) array_shift($coords);
434 $current_point = [$a * $x + $e, $b * $x + $f];
439 $x = 0;
447 $x = (float) array_shift($coords);
451 $current_point = [$a * $x + $c * $y + $e, $b * $x + $d * $y + $f];
455 $x = (float) array_shift($coords);
459 $current_point = [$a * $x + $c * $y + $e, $b * $x + $d * $y + $f];
466 $x = (float) array_shift($coords);
470 $current_point = [$a * $x + $c * $y + $e, $b * $x + $d * $y + $f];