Lines Matching defs:ColorPremul
200 struct ColorPremul { uint32_t A, R, G, B; }; // Use premultipled Alpha.
201 const ColorPremul kSheerRed = { 0x88, 0x88, 0x00, 0x00 };
202 const ColorPremul kSheerBlue = { 0x88, 0x00, 0x00, 0x88 };
203 const ColorPremul kSheerGray = { 0x77, 0x55, 0x55, 0x55 };
204 const ColorPremul kOpaqueGreen = { 0xFF, 0x00, 0xFF, 0x00 };
205 const ColorPremul kOpaqueBlack = { 0xFF, 0x00, 0x00, 0x00 };
206 const ColorPremul kOpaqueWhite = { 0xFF, 0xFF, 0xFF, 0xFF };
207 const ColorPremul kOpaqueYellow = { 0xFF, 0xFF, 0xFF, 0x00 };
211 uint32_t FormatColor(PP_ImageDataFormat format, ColorPremul color);
215 PP_Resource CreateImageData(PP_Size size, ColorPremul pixel_color, void** bmp);
222 ColorPremul color);