27 : fRed(red), fGreen(green), fBlue(blue), fAlpha(alpha) {}
41 uint8_t
getRed(uint32_t pixel)
const;
42 uint8_t
getGreen(uint32_t pixel)
const;
43 uint8_t
getBlue(uint32_t pixel)
const;
44 uint8_t
getAlpha(uint32_t pixel)
const;
52 const MaskInfo fGreen;
54 const MaskInfo fAlpha;
constexpr SkMasks(const MaskInfo red, const MaskInfo green, const MaskInfo blue, const MaskInfo alpha)
uint8_t getAlpha(uint32_t pixel) const
uint32_t getAlphaMask() const
static SkMasks * CreateMasks(InputMasks masks, int bytesPerPixel)
uint8_t getBlue(uint32_t pixel) const
uint8_t getGreen(uint32_t pixel) const
uint8_t getRed(uint32_t pixel) const