Lines Matching refs:ratio
57 $ratio = $this->getRequestedAspectRatio();
58 $url->addQueryParameterIfNotPresent(Dimension::RATIO_ATTRIBUTE, $ratio);
339 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
341 $ratio = $this->getIntrinsicAspectRatio();
343 return self::round($width / $ratio);
353 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
354 [$croppedWidth, $croppedHeight] = $this->getCroppingDimensionsWithRatio($ratio);
389 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
391 $ratio = $this->getIntrinsicAspectRatio();
393 return self::round($ratio * $height);
403 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
404 … [$logicalWidthWithRatio, $logicalHeightWithRatio] = $this->getCroppingDimensionsWithRatio($ratio);