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);
1908 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc);
1910 void gdImageFill(gdImagePtr im, int x, int y, int nc) in gdImageFill() argument
1923 if (!im->trueColor && nc > (im->colorsTotal -1)) { in gdImageFill()
1930 if (nc==gdTiled){ in gdImageFill()
1931 _gdImageFillTiled(im,x,y,nc); in gdImageFill()
1938 if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { in gdImageFill()
1954 gdImageSetPixel(im, ix, iy, nc); in gdImageFill()
1972 gdImageSetPixel(im,x, y, nc); in gdImageFill()
1986 gdImageSetPixel(im, x, y, nc); in gdImageFill()
2005 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
2021 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2040 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2042 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
2056 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2058 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2295 int nc; in gdImageCopy() local
2312 nc = c; in gdImageCopy()
2315 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2317 colorMap[c] = nc; in gdImageCopy()
2342 int nc; in gdImageCopyMerge() local
2351 nc = c; in gdImageCopyMerge()
2360 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2362 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2383 int nc; in gdImageCopyMergeGray() local
2397 nc = c; in gdImageCopyMergeGray()
2408 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2409 if (nc == (-1)) { in gdImageCopyMergeGray()
2411 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2413 if (nc == (-1)) { in gdImageCopyMergeGray()
2414 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2418 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2461 int nc = 0; in gdImageCopyResized() local
2504 nc = c; in gdImageCopyResized()
2508 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2513 colorMap[c] = nc; in gdImageCopyResized()