H A D | GdAdapter.php | 138 list($this->width, $this->height, $offsetX, $offsetY) = $this->cropPosition($width, $height); 139 $this->resizeOperation($width, $height, $offsetX, $offsetY); 348 * @return array (cropWidth, cropHeight, offsetX, offsetY) 390 $offsetY = (int)(($this->height - $cropHeight) / 2); 392 return [$cropWidth, $cropHeight, $offsetX, $offsetY]; 401 * @param int $offsetY offset of crop centre 404 protected function resizeOperation($toWidth, $toHeight, $offsetX = 0, $offsetY = 0) 417 $offsetY, 430 $offsetY, 380 resizeOperation($toWidth, $toHeight, $offsetX = 0, $offsetY = 0) global() argument
|