Lines Matching refs:round

85             $alpha = round(($i / $width) * 127);
101 $radius = round(max(0, min($radius, 50)) * 2);
182 $NewPixel[$key] = round($baseamount + ($OriginalPixel[$key] * $scaling));
218 $NewPixel[$key] = min(255, max(0, round($OriginalPixel[$key] * $scaling)));
241 $r = round($amountPct * hexdec(substr($targetColor, 0, 2)));
242 $g = round($amountPct * hexdec(substr($targetColor, 2, 2)));
243 $b = round($amountPct * hexdec(substr($targetColor, 4, 2)));
267 …$NewPixel[$key] = round(max(0, min(255, ($OriginalPixel[$key] * ((100 - $amount) / 100)) + ($Targe…
284 if (($left > 0) && ($left < 1)) { $left = round($left * $oldW); }
285 if (($right > 0) && ($right < 1)) { $right = round($right * $oldW); }
286 if (($top > 0) && ($top < 1)) { $top = round($top * $oldH); }
287 if (($bottom > 0) && ($bottom < 1)) { $bottom = round($bottom * $oldH); }
637 $histW = round(($width > 1) ? min($width, imagesx($gdimg)) : imagesx($gdimg) * $width);
638 $histH = round(($width > 1) ? min($width, imagesx($gdimg)) : imagesx($gdimg) * $width);
664 …imageline($gdHistTemp, $x, $HistogramTempHeight - 1, $x, $HistogramTempHeight - 1 - round(@$Analys…
734 …ction($gd_border_canvas, $gdimg, floor(($output_width - $new_width) / 2), round(($output_height - …
779 …imagesetpixel($gdimg_rotate_mask, $x, $y, $color_mask[255 - round($pixelcolor['alpha'] * 255 / 127…
945 $r = round($amountPct * hexdec(substr($targetColor, 0, 2)));
946 $g = round($amountPct * hexdec(substr($targetColor, 2, 2)));
947 $b = round($amountPct * hexdec(substr($targetColor, 4, 2)));
980 …$NewPixel[$key] = round(max(0, min(255, $GrayPixel[$key] * (1 - $SepiaAmount) + ($TargetPixel[$key…
1100 max(0, min(255, round($currentPixel['red'] * $scaleR))),
1101 max(0, min(255, round($currentPixel['green'] * $scaleG))),
1102 max(0, min(255, round($currentPixel['blue'] * $scaleB))),
1132 '^Fk' => round($this->phpThumbObject->getimagesizeinfo['filesize'] / 1024),
1133 '^Fm' => round($this->phpThumbObject->getimagesizeinfo['filesize'] / 1048576),
1161 $text_width = round($max_x - $min_x);
1166 $text_height = round($max_y - $min_y);
1171 $char_height = round($char_max_y - $char_min_y);
1197 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1202 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1208 …$text_origin_y = ($originOffsetY ? $originOffsetY : round((imagesy($gdimg) - $text_height) / 2) + …
1212 …tX - $text_width : imagesx($gdimg) - $text_width + $TTFbox[0] - $min_x + round($size * 0.25) - $m…
1213 …$text_origin_y = ($originOffsetY ? $originOffsetY : round((imagesy($gdimg) - $text_height) / 2) + …
1217 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width / 2) : round((imagesx($gdimg…
1218 …$text_origin_y = ($originOffsetY ? $originOffsetY : round((imagesy($gdimg) - $text_height) / 2) + …
1227 …tX - $text_width : imagesx($gdimg) - $text_width + $TTFbox[0] - $min_x + round($size * 0.25) - $m…
1238 …tX - $text_width : imagesx($gdimg) - $text_width + $TTFbox[0] - $min_x + round($size * 0.25) - $m…
1244 $text_background_alpha = round(127 * ((100 - min(max(0, $bg_opacity), 100)) / 100));
1269 $text_width_line = round($max_x_line - $min_x_line);
1283 …$text_origin_x = ($originOffsetX ? $originOffsetX - round($text_width_line / 2) : round((imagesx($…
1289 …_width_line : imagesx($gdimg) - $text_width_line + $TTFbox[0] - $min_x + round($size * 0.25) - $m…
1317 $text_background_alpha = round(127 * ((100 - min(max(0, $bg_opacity), 100)) / 100));
1343 $x_offset = round(($text_width - (imagefontwidth($size) * strlen($line))) / 2);
1349 $x_offset = round(($text_width - (imagefontwidth($size) * strlen($line))) / 2);
1355 $x_offset = round(($text_width - (imagefontwidth($size) * strlen($line))) / 2);
1434 …$watermark_margin_x = ((($margin_x > 0) && ($margin_x < 1)) ? round((1 - $margin_x) * $img_source_…
1435 …$watermark_margin_y = ((($margin_y > 0) && ($margin_y < 1)) ? round((1 - $margin_y) * $img_source_…
1487 …$watermark_destination_x = round((($img_source_width / 2) - ($watermark_source_width / 2)) + $wat…
1492 …$watermark_destination_x = round((($img_source_width / 2) - ($watermark_source_width / 2)) + $wat…
1498 …$watermark_destination_y = round((($img_source_height / 2) - ($watermark_source_height / 2)) + $wa…
1503 …$watermark_destination_y = round((($img_source_height / 2) - ($watermark_source_height / 2)) + $wa…
1507 $watermark_destination_x = round(($img_source_width / 2) - ($watermark_source_width / 2));
1508 $watermark_destination_y = round(($img_source_height / 2) - ($watermark_source_height / 2));