Lines Matching refs:y

441 	ZEND_ARG_INFO(0, y)
500 ZEND_ARG_INFO(0, y)
563 ZEND_ARG_INFO(0, y)
571 ZEND_ARG_INFO(0, y)
622 ZEND_ARG_INFO(0, y)
631 ZEND_ARG_INFO(0, y)
640 ZEND_ARG_INFO(0, y)
649 ZEND_ARG_INFO(0, y)
737 ZEND_ARG_INFO(0, y)
757 ZEND_ARG_INFO(0, y)
1988 int x,y;
1989 for (y=0; y <= Height; y++) {
1991 int c = GetPixel(memDC, x,y);
1992 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c)));
2047 int x,y;
2048 for (y=0; y <= Height; y++) {
2050 int c = GetPixel(memDC, x,y);
2051 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c)));
2881 /* {{{ proto int imagecolorat(resource im, int x, int y)
2886 zend_long x, y;
2892 Z_PARAM_LONG(y)
2900 if (im->tpixels && gdImageBoundsSafe(im, x, y)) {
2901 RETURN_LONG(gdImageTrueColorPixel(im, x, y));
2903 php_error_docref(NULL, E_NOTICE, "" ZEND_LONG_FMT "," ZEND_LONG_FMT " is out of bounds", x, y);
2907 if (im->pixels && gdImageBoundsSafe(im, x, y)) {
2908 RETURN_LONG(im->pixels[y][x]);
2910 php_error_docref(NULL, E_NOTICE, "" ZEND_LONG_FMT "," ZEND_LONG_FMT " is out of bounds", x, y);
3119 int x, y, c;
3121 for (y = 0; y < gdImageSY(im); y++) {
3123 c = gdImageGetPixel(im, x, y);
3124 gdImageSetPixel(im, x, y,
3147 /* {{{ proto bool imagesetpixel(resource im, int x, int y, int col)
3152 zend_long x, y, col;
3158 Z_PARAM_LONG(y)
3166 gdImageSetPixel(im, x, y, col);
3311 /* {{{ proto bool imagefilltoborder(resource im, int x, int y, int border, int col)
3316 zend_long x, y, border, col;
3319 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllll", &IM, &x, &y, &border, &col) == FAILURE) {
3327 gdImageFillToBorder(im, x, y, border, col);
3332 /* {{{ proto bool imagefill(resource im, int x, int y, int col)
3337 zend_long x, y, col;
3340 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlll", &IM, &x, &y, &col) == FAILURE) {
3348 gdImageFill(im, x, y, col);
3468 points[i].y = zval_get_long(var);
3594 static void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
3605 for (py = y; (py > (y - f->w)); py--) {
3631 int ch = 0, col, x, y, size, i, l = 0;
3652 y = Y;
3660 gdImageChar(im, font, x, y, ch, col);
3663 php_gdimagecharup(im, font, x, y, ch, col);
3667 gdImageChar(im, font, x, y, (int) ((unsigned char) str[i]), col);
3673 /* php_gdimagecharup(im, font, x, y, (int) str[i], col); */
3674 gdImageCharUp(im, font, x, y, (int) str[i], col);
3675 y -= font->w;
3687 /* {{{ proto bool imagechar(resource im, int font, int x, int y, string c, int col)
3695 /* {{{ proto bool imagecharup(resource im, int font, int x, int y, string c, int col)
3703 /* {{{ proto bool imagestring(resource im, int font, int x, int y, string str, int col)
3711 /* {{{ proto bool imagestringup(resource im, int font, int x, int y, string str, int col)
3961 /* {{{ proto array imagefttext(resource im, float size, float angle, int x, int y, int col, string font_file, string text [, array extrainfo])
3978 /* {{{ proto array imagettftext(resource im, float size, float angle, int x, int y, int col, string font_file, string text)
3992 zend_long col = -1, x = 0, y = 0;
4010 } else if (zend_parse_parameters(argc, "rddlllss|a", &IM, &ptsize, &angle, &x, &y, &col, &fontname, &fontname_len, &str, &str_len, &EXT) == FAILURE) {
4051 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex);
4054 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str);
4110 int x, y;
4137 for (y = 0; y < dest_height; y++) {
4139 color_org = gdImageGetPixel(im_org, x, y);
4146 gdImageSetPixel (im_dest, x, y, color);
4171 int x, y;
4318 for (y = 0; y < dest_height; y++) {
4320 color_org = gdImageGetPixel (im_tmp, x, y);
4327 gdImageSetPixel (im_dest, x, y, color);
4712 Crop an image using the given coordinates and size, x, y, width and height. */
4737 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(z_rect), "y", sizeof("y") - 1)) != NULL) {
4738 rect.y = zval_get_long(tmp);
4740 php_error_docref(NULL, E_WARNING, "Missing y position");
4927 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(z_rect), "y", sizeof("y") - 1)) != NULL) {
4928 rect.y = zval_get_long(tmp);
4930 php_error_docref(NULL, E_WARNING, "Missing y position");
4950 rect.y = -1;
4985 double x, y;
4997 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(options), "y", sizeof("y") - 1)) != NULL) {
4998 y = zval_get_double(tmp);
5000 php_error_docref(NULL, E_WARNING, "Missing y position");
5005 res = gdAffineTranslate(affine, x, y);
5007 res = gdAffineScale(affine, x, y);