Lines Matching refs:nc
1266 #define BLEND_COLOR(a, nc, c, cc) \ argument
1267 nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8);
1966 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc);
1968 void gdImageFill(gdImagePtr im, int x, int y, int nc) in gdImageFill() argument
1981 if (!im->trueColor && nc > (im->colorsTotal -1)) { in gdImageFill()
1988 if (nc==gdTiled){ in gdImageFill()
1989 _gdImageFillTiled(im,x,y,nc); in gdImageFill()
1996 if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { in gdImageFill()
2012 gdImageSetPixel(im, ix, iy, nc); in gdImageFill()
2030 gdImageSetPixel(im,x, y, nc); in gdImageFill()
2044 gdImageSetPixel(im, x, y, nc); in gdImageFill()
2064 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
2080 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2099 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2101 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
2115 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2117 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2355 int nc; in gdImageCopy() local
2372 nc = c; in gdImageCopy()
2375 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2377 colorMap[c] = nc; in gdImageCopy()
2402 int nc; in gdImageCopyMerge() local
2411 nc = c; in gdImageCopyMerge()
2420 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2422 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2443 int nc; in gdImageCopyMergeGray() local
2457 nc = c; in gdImageCopyMergeGray()
2468 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2469 if (nc == (-1)) { in gdImageCopyMergeGray()
2471 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2473 if (nc == (-1)) { in gdImageCopyMergeGray()
2474 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2478 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2521 int nc = 0; in gdImageCopyResized() local
2564 nc = c; in gdImageCopyResized()
2568 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2573 colorMap[c] = nc; in gdImageCopyResized()