Lines Matching refs:nc
1274 #define BLEND_COLOR(a, nc, c, cc) \ argument
1275 nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8);
1853 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc);
1855 void gdImageFill(gdImagePtr im, int x, int y, int nc) in gdImageFill() argument
1868 if (!im->trueColor && nc > (im->colorsTotal -1)) { in gdImageFill()
1875 if (nc==gdTiled){ in gdImageFill()
1876 _gdImageFillTiled(im,x,y,nc); in gdImageFill()
1883 if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { in gdImageFill()
1899 gdImageSetPixel(im, ix, iy, nc); in gdImageFill()
1917 gdImageSetPixel(im,x, y, nc); in gdImageFill()
1931 gdImageSetPixel(im, x, y, nc); in gdImageFill()
1950 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
1966 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
1985 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
1987 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
2001 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2003 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2244 int nc; in gdImageCopy() local
2261 nc = c; in gdImageCopy()
2264 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2266 colorMap[c] = nc; in gdImageCopy()
2291 int nc; in gdImageCopyMerge() local
2300 nc = c; in gdImageCopyMerge()
2309 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2311 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2332 int nc; in gdImageCopyMergeGray() local
2346 nc = c; in gdImageCopyMergeGray()
2357 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2358 if (nc == (-1)) { in gdImageCopyMergeGray()
2360 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2362 if (nc == (-1)) { in gdImageCopyMergeGray()
2363 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2367 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2410 int nc = 0; in gdImageCopyResized() local
2453 nc = c; in gdImageCopyResized()
2457 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2462 colorMap[c] = nc; in gdImageCopyResized()