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);
1851 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc);
1853 void gdImageFill(gdImagePtr im, int x, int y, int nc) in gdImageFill() argument
1866 if (!im->trueColor && nc > (im->colorsTotal -1)) { in gdImageFill()
1873 if (nc==gdTiled){ in gdImageFill()
1874 _gdImageFillTiled(im,x,y,nc); in gdImageFill()
1881 if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { in gdImageFill()
1897 gdImageSetPixel(im, ix, iy, nc); in gdImageFill()
1915 gdImageSetPixel(im,x, y, nc); in gdImageFill()
1929 gdImageSetPixel(im, x, y, nc); in gdImageFill()
1948 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
1964 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
1983 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
1985 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
1999 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2001 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2242 int nc; in gdImageCopy() local
2259 nc = c; in gdImageCopy()
2262 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2264 colorMap[c] = nc; in gdImageCopy()
2289 int nc; in gdImageCopyMerge() local
2298 nc = c; in gdImageCopyMerge()
2307 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2309 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2330 int nc; in gdImageCopyMergeGray() local
2344 nc = c; in gdImageCopyMergeGray()
2355 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2356 if (nc == (-1)) { in gdImageCopyMergeGray()
2358 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2360 if (nc == (-1)) { in gdImageCopyMergeGray()
2361 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2365 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2408 int nc = 0; in gdImageCopyResized() local
2451 nc = c; in gdImageCopyResized()
2455 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2460 colorMap[c] = nc; in gdImageCopyResized()