Lines Matching refs:cropHeight
129 $cropHeight = min($height, $this->height);
130 list($offsetX, $offsetY) = $this->centerOffset($cropWidth, $cropHeight);
133 $height = $cropHeight;
135 … list($cropWidth, $cropHeight, $offsetX, $offsetY) = $this->cropPosition($width, $height);
139 $this->height = $cropHeight;
307 $cropHeight = (int)($this->width / $newRatio);
310 $cropHeight = $this->height;
315 $cropHeight = $this->height;
318 $cropHeight = (int)($this->width / $newRatio);
322 list($offsetX, $offsetY) = $this->centerOffset($cropWidth, $cropHeight);
324 return [$cropWidth, $cropHeight, $offsetX, $offsetY];
331 * @param int $cropHeight height of the region to extract
334 protected function centerOffset($cropWidth, $cropHeight) argument
338 (int)(($this->height - $cropHeight) / 2),