Searched refs:xlate (Results 1 – 1 of 1) sorted by relevance
658 int xlate[256]; in gdImagePaletteCopy() local664 xlate[i] = -1; in gdImagePaletteCopy()670 if (xlate[p] == -1) { in gdImagePaletteCopy()672 xlate[p] = gdImageColorClosestAlpha (from, to->red[p], to->green[p], to->blue[p], to->alpha[p]); in gdImagePaletteCopy()674 gdImageSetPixel(to, x, y, xlate[p]); in gdImagePaletteCopy()
Completed in 13 milliseconds