Lines Matching refs:transparent
156 im->transparent = (-1);
210 im->transparent = (-1);
550 if (c == im->transparent)
553 * been designated as the transparent color */
607 /* Make the old transparent color opaque again */
608 if (im->transparent != -1) {
609 im->alpha[im->transparent] = gdAlphaOpaque;
613 im->transparent = color;
792 return gdTrueColorAlpha(im->red[p], im->green[p], im->blue[p], (im->transparent == p) ? gdAlphaTransparent : im->alpha[p]);
2207 /* 2.0.10: needs a transparent-index check that is still valid if
2215 if (c != src->transparent) {
2225 if (c != src->transparent) {
2245 /* Added 7/24/95: support transparent copies */
2291 /* Added 7/24/95: support transparent copies */
2332 /* Added 7/24/95: support transparent copies */
2426 /* Added 7/24/95: support transparent copies */
2435 /* Added 7/24/95: support transparent copies */
2831 if (im1->transparent != im2->transparent) {
3085 if (c == src->transparent) {
3104 if (src->transparent >= 0) {
3105 const unsigned char c = src->transparent;
3106 src->transparent = gdTrueColorAlpha(src->red[c], src->green[c], src->blue[c], src->alpha[c]);