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);
1850 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc);
1852 void gdImageFill(gdImagePtr im, int x, int y, int nc) in gdImageFill() argument
1865 if (!im->trueColor && nc > (im->colorsTotal -1)) { in gdImageFill()
1872 if (nc==gdTiled){ in gdImageFill()
1873 _gdImageFillTiled(im,x,y,nc); in gdImageFill()
1880 if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { in gdImageFill()
1896 gdImageSetPixel(im, ix, iy, nc); in gdImageFill()
1914 gdImageSetPixel(im,x, y, nc); in gdImageFill()
1928 gdImageSetPixel(im, x, y, nc); in gdImageFill()
1947 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
1963 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
1982 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
1984 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
1998 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2000 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2241 int nc; in gdImageCopy() local
2258 nc = c; in gdImageCopy()
2261 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2263 colorMap[c] = nc; in gdImageCopy()
2288 int nc; in gdImageCopyMerge() local
2297 nc = c; in gdImageCopyMerge()
2306 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2308 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2329 int nc; in gdImageCopyMergeGray() local
2343 nc = c; in gdImageCopyMergeGray()
2354 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2355 if (nc == (-1)) { in gdImageCopyMergeGray()
2357 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2359 if (nc == (-1)) { in gdImageCopyMergeGray()
2360 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2364 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2407 int nc = 0; in gdImageCopyResized() local
2450 nc = c; in gdImageCopyResized()
2454 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2459 colorMap[c] = nc; in gdImageCopyResized()