Lines Matching refs:x
102 * @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an assoc array
103 * with the keys "x", "y", "width", "height", "adjustPageSize".
111 public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false)
113 return $this->useImportedPage($tpl, $x, $y, $width, $height, $adjustPageSize);
123 * @param float|int|array $x The abscissa of upper-left corner. Alternatively you could use an assoc array
124 * with the keys "x", "y", "width", "height", "adjustPageSize".
132 public function useImportedPage($pageId, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false)
138 /* Extract $x if an array */
139 if (is_array($x)) {
140 unset($x['pageId']);
141 extract($x, EXTR_IF_EXISTS);
142 if (is_array($x)) {
143 $x = 0;
147 $newSize = $this->fpdiUseImportedPage($pageId, $x, $y, $width, $height, $adjustPageSize);
149 $this->setImportedPageLinks($pageId, $x, $y, $newSize);
223 'x' => $rect->getLlx() / Mpdf::SCALE,
240 * @param int|float $x The abscissa of upper-left corner.
244 public function setImportedPageLinks($pageId, $x, $y, $newSize)
255 $item['x'] *= $widthRatio;
262 $item['x'] + $x,