Lines Matching refs:x

46 					for ($x = 0, $xMax = imagesx($gdimg_image); $x < $xMax; $x++) {
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);
177 for ($x = 0, $xMax = imagesx($gdimg); $x < $xMax; $x++) {
179 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
185 imagesetpixel($gdimg, $x, $y, $newColor);
213 for ($x = 0, $xMax = imagesx($gdimg); $x < $xMax; $x++) {
215 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
221 imagesetpixel($gdimg, $x, $y, $newColor);
259 for ($x = 0, $xMax = imagesx($gdimg); $x < $xMax; $x++) {
261 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
271 imagesetpixel($gdimg, $x, $y, $newColor);
355 for ($x = 0, $xMax = imagesx($gdimg); $x < $xMax; $x++) {
357 $PixelMap[$x][$y] = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
360 for ($x = 0; $x < $tempImageWidth; $x++) {
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 …thumb_functions::ImageHexColorAllocate($gdimg, $hexcolor, false, $PixelMap[$x + $Offset['x']][$y +…
367 imagesetpixel($gdimg_dropshadow_temp, $x, $y, $thisColor);
375 for ($x = 0, $xMax = imagesx($gdimg); $x < $xMax; $x++) {
377 if ($PixelMap[$x][$y]['alpha'] < 127) {
378 …$gdimg_dropshadow_temp, $PixelMap[$x][$y]['red'], $PixelMap[$x][$y]['green'], $PixelMap[$x][$y]['b…
379 imagesetpixel($gdimg_dropshadow_temp, $x, $y, $thisColor);
452 public function Flip(&$gdimg, $x=false, $y=false) { argument
453 if (!$x && !$y) {
457 if ($x) {
459 for ($x = 0, $xMax = imagesx($gdimg); $x < $xMax; $x++) {
460 imagecopy($gdimg, $tempImage, imagesx($gdimg) - 1 - $x, 0, $x, 0, 1, imagesy($gdimg));
531 for ($x = 0; $x < $ImageSX; $x++) {
533 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
612 for ($x = 0; $x < $ImageSX; $x++) {
614 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
625 imagesetpixel($gdimg, $x, $y, $newColor);
663 for ($x = 0; $x < $HistogramTempWidth; $x++) {
664 …imageline($gdHistTemp, $x, $HistogramTempHeight - 1, $x, $HistogramTempHeight - 1 - round(@$Analys…
776 for ($x = 0; $x < $imageX; $x++) {
778 $pixelcolor = phpthumb_functions::GetPixelColor($gdimg_source, $x, $y);
779 …imagesetpixel($gdimg_rotate_mask, $x, $y, $color_mask[255 - round($pixelcolor['alpha'] * 255 / 127…
876 for ($x = 0; $x < $ImageSX; $x++) {
878 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
880 imagesetpixel($gdimg, $x, $y, $newColor);
968 for ($x = 0; $x < $ImageSX; $x++) {
970 $OriginalPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
983 imagesetpixel($gdimg, $x, $y, $newColor);
1017 for ($x = 0; $x < $width; $x++) {
1019 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
1023 imagesetpixel($gdimg_mask, $x, $y, $newColor);
1036 for ($x = 0; $x < $width; $x++) {
1038 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
1045 imagesetpixel($gdimg, $x, $y, $newColor);
1095 for ($x = 0, $xMax = imagesx($gdimg); $x < $xMax; $x++) {
1097 $currentPixel = phpthumb_functions::GetPixelColor($gdimg, $x, $y);
1105 imagesetpixel($gdimg, $x, $y, $newColor);
1461 …for ($x = $watermark_margin_x; $x < ($img_source_width + $watermark_source_width); $x += ($waterma…
1466 $x,
1470 min($watermark_source_width, $img_source_width - $x - $watermark_margin_x),