Calculates dimensions of cutout in image.
public static calculateCutout ( $srcWidth, $srcHeight, $left, $top, $newWidth, $newHeight ) : array | ||
return | array |
public static calculateCutout ( $srcWidth, $srcHeight, $left, $top, $newWidth, $newHeight ) : array | ||
return | array |