Home | History | Annotate | Download | only in libpng

Lines Matching refs:bg

2830  /* fg and bg should be in `gamma 1.0' space; alpha is the opacity          */
2832 # define png_composite(composite, fg, alpha, bg) \
2834 + (png_uint_16)(bg)*(png_uint_16)(255 - \
2838 # define png_composite_16(composite, fg, alpha, bg) \
2840 + (png_uint_32)(bg)*(png_uint_32)(65535L - \
2846 # define png_composite(composite, fg, alpha, bg) \
2848 (png_uint_16)(bg) * (png_uint_16)(255 - (png_uint_16)(alpha)) + \
2851 # define png_composite_16(composite, fg, alpha, bg) \
2853 (png_uint_32)(bg)*(png_uint_32)(65535L - (png_uint_32)(alpha)) + \