Lines Matching refs:transparent
202 im->transparent = (-1);
253 im->transparent = (-1);
588 if (c == im->transparent)
591 * been designated as the transparent color */
645 /* Make the old transparent color opaque again */
646 if (im->transparent != -1) {
647 im->alpha[im->transparent] = gdAlphaOpaque;
651 im->transparent = color;
833 return gdTrueColorAlpha(im->red[p], im->green[p], im->blue[p], (im->transparent == p) ? gdAlphaTransparent : im->alpha[p]);
2266 /* 2.0.10: needs a transparent-index check that is still valid if
2274 if (c != src->transparent) {
2284 if (c != src->transparent) {
2304 /* Added 7/24/95: support transparent copies */
2350 /* Added 7/24/95: support transparent copies */
2391 /* Added 7/24/95: support transparent copies */
2485 /* Added 7/24/95: support transparent copies */
2494 /* Added 7/24/95: support transparent copies */
2875 if (im1->transparent != im2->transparent) {
3127 if (c == src->transparent) {
3146 if (src->transparent >= 0) {
3147 const unsigned char c = src->transparent;
3148 src->transparent = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]);