Lines Matching refs:x
431 ZEND_ARG_INFO(0, x)
490 ZEND_ARG_INFO(0, x)
553 ZEND_ARG_INFO(0, x)
561 ZEND_ARG_INFO(0, x)
605 ZEND_ARG_INFO(0, x)
614 ZEND_ARG_INFO(0, x)
623 ZEND_ARG_INFO(0, x)
632 ZEND_ARG_INFO(0, x)
708 ZEND_ARG_INFO(0, x)
728 ZEND_ARG_INFO(0, x)
1329 snprintf(tmp, sizeof(tmp), "1.x");
2035 int x,y;
2037 for (x=0; x <= Width; x++) {
2038 int c = GetPixel(memDC, x,y);
2039 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c)));
2095 int x,y;
2097 for (x=0; x <= Width; x++) {
2098 int c = GetPixel(memDC, x,y);
2099 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c)));
2877 /* {{{ proto int imagecolorat(resource im, int x, int y)
2882 long x, y;
2885 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rll", &IM, &x, &y) == FAILURE) {
2892 if (im->tpixels && gdImageBoundsSafe(im, x, y)) {
2893 RETURN_LONG(gdImageTrueColorPixel(im, x, y));
2895 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%ld,%ld is out of bounds", x, y);
2899 if (im->pixels && gdImageBoundsSafe(im, x, y)) {
2900 RETURN_LONG(im->pixels[y][x]);
2902 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%ld,%ld is out of bounds", x, y);
3093 int x, y, c;
3096 for (x = 0; x < gdImageSX(im); x++) {
3097 c = gdImageGetPixel(im, x, y);
3098 gdImageSetPixel(im, x, y,
3121 /* {{{ proto bool imagesetpixel(resource im, int x, int y, int col)
3126 long x, y, col;
3129 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlll", &IM, &x, &y, &col) == FAILURE) {
3134 gdImageSetPixel(im, x, y, col);
3268 /* {{{ proto bool imagefilltoborder(resource im, int x, int y, int border, int col)
3273 long x, y, border, col;
3276 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rllll", &IM, &x, &y, &border, &col) == FAILURE) {
3281 gdImageFillToBorder(im, x, y, border, col);
3286 /* {{{ proto bool imagefill(resource im, int x, int y, int col)
3291 long x, y, col;
3294 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlll", &IM, &x, &y, &col) == FAILURE) {
3299 gdImageFill(im, x, y, col);
3412 points[i].x = Z_LVAL(lval);
3414 points[i].x = Z_LVAL_PP(var);
3532 static void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
3544 for (px = x; (px < (x + f->h)); px++) {
3569 int ch = 0, col, x, y, size, i, l = 0;
3589 x = X;
3596 gdImageChar(im, font, x, y, ch, col);
3599 php_gdimagecharup(im, font, x, y, ch, col);
3603 gdImageChar(im, font, x, y, (int) ((unsigned char) str[i]), col);
3604 x += font->w;
3609 /* php_gdimagecharup(im, font, x, y, (int) str[i], col); */
3610 gdImageCharUp(im, font, x, y, (int) str[i], col);
3623 /* {{{ proto bool imagechar(resource im, int font, int x, int y, string c, int col)
3631 /* {{{ proto bool imagecharup(resource im, int font, int x, int y, string c, int col)
3639 /* {{{ proto bool imagestring(resource im, int font, int x, int y, string str, int col)
3647 /* {{{ proto bool imagestringup(resource im, int font, int x, int y, string str, int col)
3826 /* {{{ proto array imagefttext(resource im, float size, float angle, int x, int y, int col, string font_file, string text [, array extrainfo])
3843 /* {{{ proto array imagettftext(resource im, float size, float angle, int x, int y, int col, string font_file, string text)
3857 long col = -1, x = 0, y = 0;
3874 } else if (zend_parse_parameters(argc TSRMLS_CC, "rddlllss|a", &IM, &ptsize, &angle, &x, &y, &col, &fontname, &fontname_len, &str, &str_len, &EXT) == FAILURE) {
3924 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex);
3927 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str);
4167 long _fg, _bg, x, y, size, space = 0, aa_steps = 4, width = 0;
4183 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsrlllll|lldl", &img, &str, &str_len, &fnt, &size, &_fg, &_bg, &x, &y, &space, &width, &angle, &aa_steps) == FAILURE) {
4285 gdImageSetPixel(bg_img, x + str_img->metrics.leftSideBearing + i, y - str_img->metrics.ascent + j, c_ind);
4437 int x, y;
4463 for (x = 0; x < dest_width; x++) {
4464 color_org = gdImageGetPixel(im_org, x, y);
4471 gdImageSetPixel (im_dest, x, y, color);
4496 int x, y;
4651 for (x = 0; x < dest_width; x++) {
4652 color_org = gdImageGetPixel (im_tmp, x, y);
4659 gdImageSetPixel (im_dest, x, y, color);
5035 Crop an image using the given coordinates and size, x, y, width and height. */
5051 if (zend_hash_find(HASH_OF(z_rect), "x", sizeof("x"), (void **)&tmp) != FAILURE) {
5057 rect.x = Z_LVAL(lval);
5059 rect.x = Z_LVAL_PP(tmp);
5062 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Missing x position");
5066 if (zend_hash_find(HASH_OF(z_rect), "y", sizeof("x"), (void **)&tmp) != FAILURE) {
5273 if (zend_hash_find(HASH_OF(z_rect), "x", sizeof("x"), (void **)&tmp) != FAILURE) {
5279 rect.x = Z_LVAL(lval);
5281 rect.x = Z_LVAL_PP(tmp);
5284 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Missing x position");
5288 if (zend_hash_find(HASH_OF(z_rect), "y", sizeof("x"), (void **)&tmp) != FAILURE) {
5334 rect.x = -1;
5370 double x, y;
5375 if (zend_hash_find(HASH_OF(options), "x", sizeof("x"), (void **)&tmp) != FAILURE) {
5381 x = Z_DVAL(dval);
5383 x = Z_DVAL_PP(tmp);
5386 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Missing x position");
5406 res = gdAffineTranslate(affine, x, y);
5408 res = gdAffineScale(affine, x, y);