Lines Matching refs:sx
470 $sx = $sy = $ex = $ey = -1;
482 if ($sx == -1) {
483 $sx = $x;
485 if ($x < $sx) {
486 $sx = $x;
496 $nx = abs($ex - $sx);
501 imagecopy($img, $tmpImg, 2, 2, $sx, $sy, min($nx + 2, $tmpWidth - $sx), min($ny + 2, $tmpHeight - $sy));
517 $sx = $sy = $ex = $ey = -1;
529 if ($sx == -1) {
530 $sx = $x;
532 if ($x < $sx) {
533 $sx = $x;
543 $nx = abs($ex - $sx);
548 imagecopy($img, $tmpImg, 2, 2, $sx, $sy, min($nx + 2, $tmpWidth - $sx), min($ny + 2, $tmpHeight - $sy));
576 $sx = $sy = $ex = $ey = -1;
588 if ($sx == -1) {
589 $sx = $x;
591 if ($x < $sx) {
592 $sx = $x;
602 $nx = abs($ex - $sx);
617 $sx,
619 min($nx + 2, $tmpWidth - $sx),
650 $sx = $sy = $ex = $ey = -1;
662 if ($sx == -1) {
663 $sx = $x;
665 if ($x < $sx) {
666 $sx = $x;
676 $nx = abs($ex - $sx);
691 $sx,
693 min($nx + 2, $tmpWidth - $sx),