Flutter Engine
The Flutter Engine
|
#include <SkMaskGamma.h>
Public Member Functions | |
SkTMaskPreBlend () | |
SkTMaskPreBlend (const SkTMaskPreBlend< R_LUM_BITS, G_LUM_BITS, B_LUM_BITS > &that) | |
~SkTMaskPreBlend () | |
bool | isApplicable () const |
Public Attributes | |
const uint8_t * | fR |
const uint8_t * | fG |
const uint8_t * | fB |
Friends | |
class | SkTMaskGamma< R_LUM_BITS, G_LUM_BITS, B_LUM_BITS > |
SkTMaskPreBlend is a tear-off of SkTMaskGamma. It provides the tables to convert a linear alpha value for a given channel to a gamma correcting alpha value for that channel. This class is immutable.
If fR, fG, or fB is nullptr, all of them will be. This indicates that no mask pre blend should be applied. SkTMaskPreBlend::isApplicable() is provided as a convenience function to test for the absence of this case.
Definition at line 178 of file SkMaskGamma.h.
|
inline |
|
inline |
|
inline |
Definition at line 197 of file SkMaskGamma.h.
|
inline |
|
friend |
Definition at line 184 of file SkMaskGamma.h.
const uint8_t* SkTMaskPreBlend< R_LUM_BITS, G_LUM_BITS, B_LUM_BITS >::fB |
Definition at line 204 of file SkMaskGamma.h.
const uint8_t* SkTMaskPreBlend< R_LUM_BITS, G_LUM_BITS, B_LUM_BITS >::fG |
Definition at line 203 of file SkMaskGamma.h.
const uint8_t* SkTMaskPreBlend< R_LUM_BITS, G_LUM_BITS, B_LUM_BITS >::fR |
Definition at line 202 of file SkMaskGamma.h.