Lines Matching defs:height

53 		$this->_setPageSize([$format['width'], $format['height']], $orientation);
98 * Omit one of the size parameters (width, height) to calculate the other one automatically in view to the aspect
103 * with the keys "x", "y", "width", "height", "adjustPageSize".
106 * @param float|int|null $height The height.
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);
119 * Omit one of the size parameters (width, height) to calculate the other one automatically in view to the aspect
124 * with the keys "x", "y", "width", "height", "adjustPageSize".
127 * @param float|int|null $height The height.
132 public function useImportedPage($pageId, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize = false)
147 $newSize = $this->fpdiUseImportedPage($pageId, $x, $y, $width, $height, $adjustPageSize);
226 'height' => $rect->getHeight() / Mpdf::SCALE,
247 $pageHeightDifference = $this->h - $newSize['height'];
251 $heightRatio = $newSize['height'] / $originalSize['height'];
259 $item['height'] *= $heightRatio;
264 $this->h - $item['y'] - $item['height'] - $pageHeightDifference + $y,
266 $item['height'],
275 * Omit one of the size parameters (width, height) to calculate the other one automatically in view to the aspect
280 * @param float|int|null $height The height.
281 * @return array|bool An array with following keys: width, height, 0 (=width), 1 (=height), orientation (L or P)
283 public function getTemplateSize($tpl, $width = null, $height = null)
285 return $this->getImportedPageSize($tpl, $width, $height);