Lines Matching defs:background
1602 png_color_16 background;
1653 * arbitrary RGB values for background when we have transparency, and
1654 * so it is easy to determine the RGB values of the background color
1659 background.index = buf[0];
1669 background.red = (png_uint_16)png_ptr->palette[buf[0]].red;
1670 background.green = (png_uint_16)png_ptr->palette[buf[0]].green;
1671 background.blue = (png_uint_16)png_ptr->palette[buf[0]].blue;
1675 background.red = background.green = background.blue = 0;
1677 background.gray = 0;
1682 background.index = 0;
1683 background.red =
1684 background.green =
1685 background.blue =
1686 background.gray = png_get_uint_16(buf);
1691 background.index = 0;
1692 background.red = png_get_uint_16(buf);
1693 background.green = png_get_uint_16(buf + 2);
1694 background.blue = png_get_uint_16(buf + 4);
1695 background.gray = 0;
1698 png_set_bKGD(png_ptr, info_ptr, &background);