Lines Matching refs:c
5 | Copyright (c) The PHP Group |
98 #include "gd_ctx.c"
636 ZEND_ARG_INFO(0, c)
645 ZEND_ARG_INFO(0, c)
1414 /* Need this for cpdf. See also comment in file.c php3i_get_le_fp() */
2056 int c = GetPixel(memDC, x,y);
2057 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c)));
2113 int c = GetPixel(memDC, x,y);
2114 gdImageSetPixel(im, x, y, gdTrueColor(GetRValue(c), GetGValue(c), GetBValue(c)));
2296 /* Based on ext/standard/image.c */
3199 int x, y, c;
3203 c = gdImageGetPixel(im, x, y);
3206 (int) ((pow((gdTrueColorGetRed(c) / 255.0), gamma) * 255) + .5),
3207 (int) ((pow((gdTrueColorGetGreen(c) / 255.0), gamma) * 255) + .5),
3208 (int) ((pow((gdTrueColorGetBlue(c) / 255.0), gamma) * 255) + .5),
3209 gdTrueColorGetAlpha(c)
3674 static void php_gdimagecharup(gdImagePtr im, gdFontPtr f, int x, int y, int c, int color)
3680 if ((c < f->offset) || (c >= (f->offset + f->nchars))) {
3684 fline = (c - f->offset) * f->h * f->w;
3767 /* {{{ proto bool imagechar(resource im, int font, int x, int y, string c, int col)
3775 /* {{{ proto bool imagecharup(resource im, int font, int x, int y, string c, int col)