Lines Matching refs:pixel
16 inline uint8 GetBlue(const uint32& pixel) { in GetBlue() argument
17 return static_cast<uint8>(pixel & 0xFF); in GetBlue()
20 inline uint8 GetGreen(const uint32& pixel) { in GetGreen() argument
21 return static_cast<uint8>((pixel >> 8) & 0xFF); in GetGreen()
24 inline uint8 GetRed(const uint32& pixel) { in GetRed() argument
25 return static_cast<uint8>((pixel >> 16) & 0xFF); in GetRed()
28 inline uint8 GetAlpha(const uint32& pixel) { in GetAlpha() argument
29 return static_cast<uint8>((pixel >> 24) & 0xFF); in GetAlpha()
123 uint32_t* pixel = origin_pixel; in GradientFill() local
125 *pixel = colors[y]; in GradientFill()
126 pixel++; in GradientFill()
269 uint32 pixel = MakePixel(red, green, blue, GetAlpha(background)); in ShadowMatrix() local
272 matrix_[y * depth_ + x] = pixel; in ShadowMatrix()
273 matrix_[x * depth_ + y] = pixel; in ShadowMatrix()
296 uint32_t* pixel = image->GetAddr32(pp::Point(x, y)); in PaintShadow() local
308 *pixel = matrix.GetValue(matrix_x, matrix_y); in PaintShadow()