Lines Matching refs:nc

1212 #define BLEND_COLOR(a, nc, c, cc) \  argument
1213 nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8);
1912 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc);
1914 void gdImageFill(gdImagePtr im, int x, int y, int nc) in gdImageFill() argument
1927 if (!im->trueColor && nc > (im->colorsTotal -1)) { in gdImageFill()
1934 if (nc==gdTiled){ in gdImageFill()
1935 _gdImageFillTiled(im,x,y,nc); in gdImageFill()
1942 if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { in gdImageFill()
1958 gdImageSetPixel(im, ix, iy, nc); in gdImageFill()
1976 gdImageSetPixel(im,x, y, nc); in gdImageFill()
1990 gdImageSetPixel(im, x, y, nc); in gdImageFill()
2010 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
2026 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2045 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2047 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
2061 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2063 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2301 int nc; in gdImageCopy() local
2318 nc = c; in gdImageCopy()
2321 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2323 colorMap[c] = nc; in gdImageCopy()
2348 int nc; in gdImageCopyMerge() local
2357 nc = c; in gdImageCopyMerge()
2366 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2368 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2389 int nc; in gdImageCopyMergeGray() local
2403 nc = c; in gdImageCopyMergeGray()
2414 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2415 if (nc == (-1)) { in gdImageCopyMergeGray()
2417 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2419 if (nc == (-1)) { in gdImageCopyMergeGray()
2420 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2424 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2467 int nc = 0; in gdImageCopyResized() local
2510 nc = c; in gdImageCopyResized()
2514 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2519 colorMap[c] = nc; in gdImageCopyResized()