Lines Matching refs:bl
264 const int bl = gdImageGetPixel(im, 0, gdImageSY(im) -1); in gdGuessBackgroundColorFromCorners() local
267 if (tr == bl && tr == br) { in gdGuessBackgroundColorFromCorners()
270 } else if (tl == bl && tl == br) { in gdGuessBackgroundColorFromCorners()
276 } else if (tl == tr && tl == bl) { in gdGuessBackgroundColorFromCorners()
279 } else if (tl == tr || tl == bl || tl == br) { in gdGuessBackgroundColorFromCorners()
282 } else if (tr == bl || tr == br) { in gdGuessBackgroundColorFromCorners()
285 } else if (br == bl) { in gdGuessBackgroundColorFromCorners()
286 *color = bl; in gdGuessBackgroundColorFromCorners()
291 …r = (int)(0.5f + (gdImageRed(im, tl) + gdImageRed(im, tr) + gdImageRed(im, bl) + gdImageRed(im, br… in gdGuessBackgroundColorFromCorners()
292 …g = (int)(0.5f + (gdImageGreen(im, tl) + gdImageGreen(im, tr) + gdImageGreen(im, bl) + gdImageGree… in gdGuessBackgroundColorFromCorners()
293 …b = (int)(0.5f + (gdImageBlue(im, tl) + gdImageBlue(im, tr) + gdImageBlue(im, bl) + gdImageBlue(im… in gdGuessBackgroundColorFromCorners()
294 …a = (int)(0.5f + (gdImageAlpha(im, tl) + gdImageAlpha(im, tr) + gdImageAlpha(im, bl) + gdImageAlph… in gdGuessBackgroundColorFromCorners()