Lines Matching refs:bl
259 const int bl = gdImageGetPixel(im, 0, gdImageSY(im) -1); in gdGuessBackgroundColorFromCorners() local
262 if (tr == bl && tr == br) { in gdGuessBackgroundColorFromCorners()
265 } else if (tl == bl && tl == br) { in gdGuessBackgroundColorFromCorners()
271 } else if (tl == tr && tl == bl) { in gdGuessBackgroundColorFromCorners()
274 } else if (tl == tr || tl == bl || tl == br) { in gdGuessBackgroundColorFromCorners()
277 } else if (tr == bl || tr == br) { in gdGuessBackgroundColorFromCorners()
280 } else if (br == bl) { in gdGuessBackgroundColorFromCorners()
281 *color = bl; in gdGuessBackgroundColorFromCorners()
286 …r = (int)(0.5f + (gdImageRed(im, tl) + gdImageRed(im, tr) + gdImageRed(im, bl) + gdImageRed(im, br… in gdGuessBackgroundColorFromCorners()
287 …g = (int)(0.5f + (gdImageGreen(im, tl) + gdImageGreen(im, tr) + gdImageGreen(im, bl) + gdImageGree… in gdGuessBackgroundColorFromCorners()
288 …b = (int)(0.5f + (gdImageBlue(im, tl) + gdImageBlue(im, tr) + gdImageBlue(im, bl) + gdImageBlue(im… in gdGuessBackgroundColorFromCorners()
289 …a = (int)(0.5f + (gdImageAlpha(im, tl) + gdImageAlpha(im, tr) + gdImageAlpha(im, bl) + gdImageAlph… in gdGuessBackgroundColorFromCorners()