<?php ceil(int|float $num): float
<?php $newMin = 127; $newMax = 0; return ceil(((($input- $oldMin) * ($newMax - $newMin)) / ($oldMax - $oldMin)) + $newMin); } }
<?php if (in_array('top', $away)) { for ($y=0; $y < ceil($height/2); $y++) { for ($x=0; $x < $width; $x++) { $checkColor = $image->pickColor($x, $y, 'object');
<?php if (in_array('left', $away)) { for ($x=0; $x < ceil($width/2); $x++) { for ($y=$top_y; $y < $height; $y++) { $checkColor = $image->pickColor($x, $y, 'object');
<?php protected function getPointSize() { return intval(ceil($this->size * 0.75)); }
<?php switch (strtolower($this->align)) { case 'center': $posx = ceil($posx - ($width / 2)); break; case 'right':
<?php break; case 'right': $posx = ceil($posx - $width) + 1; break; }
<?php switch (strtolower($this->valign)) { case 'center': case 'middle': $posy = ceil($posy - ($height / 2)); break; case 'top':
<?php break; case 'top': $posy = ceil($posy - $top_correction); break; default: