Lines Matching refs:height
97 * @param float|int|null $height The height.
102 …public function useTemplate($tpl, $x = 0, $y = 0, $width = null, $height = null, $adjustPageSize =… argument
121 $newSize = $this->getTemplateSize($tpl, $width, $height);
149 * @param float|int|null $height The height.
152 public function getTemplateSize($tpl, $width = null, $height = null) argument
158 if ($width === null && $height === null) {
160 $height = $this->templates[$tpl]['height'];
162 $width = $height * $this->templates[$tpl]['width'] / $this->templates[$tpl]['height'];
165 if ($height === null) {
166 $height = $width * $this->templates[$tpl]['height'] / $this->templates[$tpl]['width'];
169 if ($height <= 0. || $width <= 0.) {
175 'height' => $height,
177 1 => $height,
178 'orientation' => $width > $height ? 'L' : 'P'
186 …* @param float|int|null $height The height of the template. If null, the current page height is us…
190 public function beginTemplate($width = null, $height = null, $groupXObject = false) argument
196 if ($height === null) {
197 $height = $this->h;
226 'height' => $height,
253 $this->h = $height;