Lines Matching refs:ratio

2074 				// Scale the image, while preserving its intrinsic aspect ratio (if any),
2084 // Scale the image, while preserving its intrinsic aspect ratio (if any),
2446 // Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest
2456 // Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest
2649 // Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area.
2658 // Scale the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area.
4660 // % ratio divided between word-spacing and kashida-spacing
14497 $ratio = $actual_h / $use_w;
14502 if (($ratio / $target) > 1) {
14508 $bpcstart = ($ratio / $target);
14511 while (($ratio / $target) > 1) {
14517 if (($ratio / $target) > 1.5 || ($ratio / $target) < 0.6) {
14519 } elseif (($ratio / $target) > 1.2 || ($ratio / $target) < 0.85) {
14521 } elseif (($ratio / $target) > 1.1 || ($ratio / $target) < 0.91) {
14536 $ratio = $actual_h / $use_w;
16601 $dashsizek = 1.5; // ratio of Dash/Blank
19992 $ratio = $checkminwidth / $mxw;
19995 return [($ratio + 0.001), $checkminwidth]; // 0.001 to allow for rounded numbers when resizing
20138 $spareratio = ($table['l'][$k] / $totaltextlength); // gives ratio to divide up free space
20157 $spareratio = ($table['l'][$k] / $totalatextlength); // gives ratio to divide up free space
21242 $dashsizek = 1.5; // ratio of Dash/Blank
24608 // Set ratio to expand y values or heights
24610 $ratio = ($lowest_bottom_y - ($this->y0)) / ($this->ColDetails[$s['newcol']]['max_bottom'] - ($this->y0));
24612 $ratio = 1;
24614 if (($ratio > 1) && ($ratio <= $this->max_colH_correction)) {
24615 $yadj = ($s['newy'] - $this->y0) * ($ratio - 1);
24621 $this->PageLinks[$this->page][$ref][3] *= $ratio; // height
24661 // Set ratio to expand y values or heights
24663 $ratio = ($lowest_bottom_y - ($this->y0)) / ($this->ColDetails[$s['newcol']]['max_bottom'] - ($this->y0));
24665 $ratio = 1;
24667 if (($ratio > 1) && ($ratio <= $this->max_colH_correction)) {
24670 $this->pages[$this->page] .= $this->transformScale(100, $ratio * 100, $x = '', $this->y0, true) . "\n";
24676 if (isset($s['rel_y']) && ($ratio > 1) && ($ratio <= $this->max_colH_correction)) { // only process position sensitive data
24721 // Set ratio to expand y values or heights
24723 $ratio = ($lowest_bottom_y - ($this->y0)) / ($this->ColDetails[$s['col']]['max_bottom'] - ($this->y0));
24725 $ratio = 1;
24727 if (($ratio > 1) && ($ratio <= $this->max_colH_correction)) {
24728 $yadj = ($s['y'] - $this->y0) * ($ratio - 1);
24736 $this->PageLinks[$this->page][$ref][3] *= $ratio; // height
24779 // Set ratio to expand y values or heights
24781 $ratio = ($lowest_bottom_y - ($this->y0)) / ($this->ColDetails[$s['col']]['max_bottom'] - ($this->y0));
24783 $ratio = 1;
24786 if (($ratio > 1) && ($ratio <= $this->max_colH_correction)) {
24789 $this->pages[$this->page] .= $this->transformScale(100, $ratio * 100, $x = '', $this->y0, true) . "\n";
24796 if (isset($s['rel_y']) && ($ratio > 1) && ($ratio <= $this->max_colH_correction)) {