Lines Matching refs:nc
1272 #define BLEND_COLOR(a, nc, c, cc) \ argument
1273 nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8);
1871 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc);
1873 void gdImageFill(gdImagePtr im, int x, int y, int nc) in gdImageFill() argument
1886 if (!im->trueColor && nc > (im->colorsTotal -1)) { in gdImageFill()
1893 if (nc==gdTiled){ in gdImageFill()
1894 _gdImageFillTiled(im,x,y,nc); in gdImageFill()
1901 if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { in gdImageFill()
1917 gdImageSetPixel(im, ix, iy, nc); in gdImageFill()
1935 gdImageSetPixel(im,x, y, nc); in gdImageFill()
1949 gdImageSetPixel(im, x, y, nc); in gdImageFill()
1968 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
1984 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2003 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2005 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
2019 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2021 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2204 int nc; in gdImageCopy() local
2208 …nc = gdImageColorResolveAlpha(dst, gdTrueColorGetRed(c), gdTrueColorGetGreen(c), gdTrueColorGetBlu… in gdImageCopy()
2210 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopy()
2226 int nc; in gdImageCopy() local
2243 nc = c; in gdImageCopy()
2246 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2248 colorMap[c] = nc; in gdImageCopy()
2273 int nc; in gdImageCopyMerge() local
2282 nc = c; in gdImageCopyMerge()
2291 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2293 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2314 int nc; in gdImageCopyMergeGray() local
2328 nc = c; in gdImageCopyMergeGray()
2339 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2340 if (nc == (-1)) { in gdImageCopyMergeGray()
2342 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2344 if (nc == (-1)) { in gdImageCopyMergeGray()
2345 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2349 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2392 int nc = 0; in gdImageCopyResized() local
2435 nc = c; in gdImageCopyResized()
2439 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2444 colorMap[c] = nc; in gdImageCopyResized()