protected calcImageSizePercent ( integer $width, integer $height ) | ||
$width | integer | |
$height | integer |
protected function calcImageSizePercent($width, $height)
{
if ($this->percent > 0) {
$this->newDimensions = $this->calcPercent($width, $height);
}
}