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()
2009 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
2025 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2044 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2046 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
2060 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2062 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2299 int nc; in gdImageCopy() local
2316 nc = c; in gdImageCopy()
2319 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2321 colorMap[c] = nc; in gdImageCopy()
2346 int nc; in gdImageCopyMerge() local
2355 nc = c; in gdImageCopyMerge()
2364 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2366 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2387 int nc; in gdImageCopyMergeGray() local
2401 nc = c; in gdImageCopyMergeGray()
2412 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2413 if (nc == (-1)) { in gdImageCopyMergeGray()
2415 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2417 if (nc == (-1)) { in gdImageCopyMergeGray()
2418 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2422 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2465 int nc = 0; in gdImageCopyResized() local
2508 nc = c; in gdImageCopyResized()
2512 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2517 colorMap[c] = nc; in gdImageCopyResized()