Lines Matching refs:nc
1261 #define BLEND_COLOR(a, nc, c, cc) \ argument
1262 nc = (cc) + (((((c) - (cc)) * (a)) + ((((c) - (cc)) * (a)) >> 8) + 0x80) >> 8);
1856 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc);
1858 void gdImageFill(gdImagePtr im, int x, int y, int nc) in gdImageFill() argument
1871 if (!im->trueColor && nc > (im->colorsTotal -1)) { in gdImageFill()
1878 if (nc==gdTiled){ in gdImageFill()
1879 _gdImageFillTiled(im,x,y,nc); in gdImageFill()
1886 if (oc==nc || x<0 || x>wx2 || y<0 || y>wy2) { in gdImageFill()
1902 gdImageSetPixel(im, ix, iy, nc); in gdImageFill()
1920 gdImageSetPixel(im,x, y, nc); in gdImageFill()
1934 gdImageSetPixel(im, x, y, nc); in gdImageFill()
1953 static void _gdImageFillTiled(gdImagePtr im, int x, int y, int nc) in _gdImageFillTiled() argument
1969 tiled = nc==gdTiled; in _gdImageFillTiled()
1971 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
1990 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
1992 gdImageSetPixel(im,x, y, nc); in _gdImageFillTiled()
2006 nc = gdImageTileGet(im,x,y); in _gdImageFillTiled()
2008 gdImageSetPixel(im, x, y, nc); in _gdImageFillTiled()
2192 int nc; in gdImageCopy() local
2196 …nc = gdImageColorResolveAlpha(dst, gdTrueColorGetRed(c), gdTrueColorGetGreen(c), gdTrueColorGetBlu… in gdImageCopy()
2198 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopy()
2214 int nc; in gdImageCopy() local
2231 nc = c; in gdImageCopy()
2234 nc = gdImageColorResolveAlpha (dst, src->red[c], src->green[c], src->blue[c], src->alpha[c]); in gdImageCopy()
2236 colorMap[c] = nc; in gdImageCopy()
2261 int nc; in gdImageCopyMerge() local
2270 nc = c; in gdImageCopyMerge()
2279 nc = gdImageColorResolve (dst, ncR, ncG, ncB); in gdImageCopyMerge()
2281 gdImageSetPixel (dst, tox, toy, nc); in gdImageCopyMerge()
2302 int nc; in gdImageCopyMergeGray() local
2316 nc = c; in gdImageCopyMergeGray()
2327 nc = gdImageColorExact(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2328 if (nc == (-1)) { in gdImageCopyMergeGray()
2330 nc = gdImageColorAllocate(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2332 if (nc == (-1)) { in gdImageCopyMergeGray()
2333 nc = gdImageColorClosest(dst, ncR, ncG, ncB); in gdImageCopyMergeGray()
2337 gdImageSetPixel(dst, tox, toy, nc); in gdImageCopyMergeGray()
2383 int nc = 0; in gdImageCopyResized() local
2426 nc = c; in gdImageCopyResized()
2430 nc = gdImageColorResolveAlpha(dst, gdImageRed(src, c), in gdImageCopyResized()
2435 colorMap[c] = nc; in gdImageCopyResized()