Home
last modified time | relevance | path

Searched refs:targetRatio (Results 1 – 3 of 3) sorted by relevance

/plugin/combo/ComboStrap/
H A DFetcherImage.php283 $targetRatio = $this->getTargetAspectRatio();
289 $height * $targetRatio >= $width - 1
291 $height * $targetRatio <= $width + 1
295 $width / $targetRatio >= $height - 1
297 $width / $targetRatio <= $height + 1
304 LogUtility::msg("Internal Error: The width ($width) and height ($height) calculated for the image ($this) does not pass the ratio test. They have a ratio of ($imgTagRatio) while the target dimension ratio is ($targetRatio)");
474 public function getCroppingDimensionsWithRatio(float $targetRatio): array argument
481 $logicalHeight = $this->round($logicalWidth / $targetRatio);
487 $logicalWidth = $this->round($targetRatio * $logicalHeight);
H A DImageSystem.php33 $targetRatio = Dimension::convertTextualRatioToNumber($stringRatio);
48 $ratioDistance = $targetRatio - $fetcherImage->getIntrinsicAspectRatio();
/plugin/diagramsnet/lib/WEB-INF/lib/
H A Dehcache-3.8.1.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE META-INF/maven/ META ...