Lines Matching refs:y

47 						for ($y = 0, $yMax = imagesy($gdimg_image); $y < $yMax; $y++) {
49 $RealPixel = phpthumb_functions::GetPixelColor($gdimg_image, $x, $y);
50 …phpthumb_functions::GrayscalePixel(phpthumb_functions::GetPixelColor($gdimg_mask_resized, $x, $y));
53 imagesetpixel($gdimg_mask_blendtemp, $x, $y, $newcolor);
178 for ($y = 0, $yMax = imagesy($gdimg); $y < $yMax; $y++) {
179 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
185 imagesetpixel($gdimg, $x, $y, $newColor);
214 for ($y = 0, $yMax = imagesy($gdimg); $y < $yMax; $y++) {
215 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
221 imagesetpixel($gdimg, $x, $y, $newColor);
260 for ($y = 0, $yMax = imagesy($gdimg); $y < $yMax; $y++) {
261 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
271 imagesetpixel($gdimg, $x, $y, $newColor);
356 for ($y = 0, $yMax = imagesy($gdimg); $y < $yMax; $y++) {
357 $PixelMap[$x][$y] = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
361 for ($y = 0; $y < $tempImageHeight; $y++) {
364 if (!isset($PixelMap[$x][$y]['alpha']) || ($PixelMap[$x][$y]['alpha'] > 0)) {
365 …if (isset($PixelMap[$x + $Offset['x']][$y + $Offset['y']]['alpha']) && ($PixelMap[$x + $Offset['x'…
366 …ageHexColorAllocate($gdimg, $hexcolor, false, $PixelMap[$x + $Offset['x']][$y + $Offset['y']]['alp…
367 imagesetpixel($gdimg_dropshadow_temp, $x, $y, $thisColor);
376 for ($y = 0, $yMax = imagesy($gdimg); $y < $yMax; $y++) {
377 if ($PixelMap[$x][$y]['alpha'] < 127) {
378 …mg_dropshadow_temp, $PixelMap[$x][$y]['red'], $PixelMap[$x][$y]['green'], $PixelMap[$x][$y]['blue'…
379 imagesetpixel($gdimg_dropshadow_temp, $x, $y, $thisColor);
452 public function Flip(&$gdimg, $x=false, $y=false) { argument
453 if (!$x && !$y) {
463 if ($y) {
465 for ($y = 0, $yMax = imagesy($gdimg); $y < $yMax; $y++) {
466 imagecopy($gdimg, $tempImage, 0, imagesy($gdimg) - 1 - $y, 0, $y, imagesx($gdimg), 1);
532 for ($y = 0; $y < $ImageSY; $y++) {
533 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
613 for ($y = 0; $y < $ImageSY; $y++) {
614 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
625 imagesetpixel($gdimg, $x, $y, $newColor);
777 for ($y = 0; $y < $imageY; $y++) {
778 $pixelcolor = phpthumb_functions::GetPixelColor($gdimg_source, $x, $y);
779 …imagesetpixel($gdimg_rotate_mask, $x, $y, $color_mask[255 - round($pixelcolor['alpha'] * 255 / 127…
877 for ($y = 0; $y < $ImageSY; $y++) {
878 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
880 imagesetpixel($gdimg, $x, $y, $newColor);
969 for ($y = 0; $y < $ImageSY; $y++) {
970 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
983 imagesetpixel($gdimg, $x, $y, $newColor);
1018 for ($y = 0; $y < $height; $y++) {
1019 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
1023 imagesetpixel($gdimg_mask, $x, $y, $newColor);
1037 for ($y = 0; $y < $height; $y++) {
1038 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
1045 imagesetpixel($gdimg, $x, $y, $newColor);
1096 for ($y = 0, $yMax = imagesy($gdimg); $y < $yMax; $y++) {
1097 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
1105 imagesetpixel($gdimg, $x, $y, $newColor);
1462 …for ($y = $watermark_margin_y; $y < ($img_source_height + $watermark_source_height); $y += ($water…
1467 $y,
1471 min($watermark_source_height, $img_source_height - $y - $watermark_margin_y)