Home
last modified time | relevance | path

Searched refs:back_color (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/src/fxge/dib/
Dfx_dib_composite.cpp64 int _BLEND(int blend_mode, int back_color, int src_color) in _BLEND() argument
70 return src_color * back_color / 255; in _BLEND()
72 return src_color + back_color - src_color * back_color / 255; in _BLEND()
74 return _BLEND(FXDIB_BLEND_HARDLIGHT, src_color, back_color); in _BLEND()
76 return src_color < back_color ? src_color : back_color; in _BLEND()
78 return src_color > back_color ? src_color : back_color; in _BLEND()
83 int result = back_color * 255 / (255 - src_color); in _BLEND()
93 int result = (255 - back_color) * 255 / src_color; in _BLEND()
101 return (src_color * back_color * 2) / 255; in _BLEND()
103 return _BLEND(FXDIB_BLEND_SCREEN, back_color, 2 * src_color - 255); in _BLEND()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp1001 FX_ARGB back_color = 0xff000000; in LoadSMask() local
1028back_color = 0xff000000 | ((FX_INT32)(R * 255) << 16) | ((FX_INT32)(G * 255) << 8) | (FX_INT32)(B … in LoadSMask()
1032 bitmap.Clear(back_color); in LoadSMask()