Flutter Engine
The Flutter Engine
|
#include <GrColorInfo.h>
Public Member Functions | |
GrColorInfo () | |
GrColorInfo (const GrColorInfo &) | |
GrColorInfo & | operator= (const GrColorInfo &) |
GrColorInfo (GrColorType, SkAlphaType, sk_sp< SkColorSpace >) | |
GrColorInfo (const SkColorInfo &) | |
~GrColorInfo () | |
bool | operator== (const GrColorInfo &that) const |
bool | operator!= (const GrColorInfo &that) const |
GrColorInfo | makeColorType (GrColorType ct) const |
bool | isLinearlyBlended () const |
SkColorSpace * | colorSpace () const |
sk_sp< SkColorSpace > | refColorSpace () const |
GrColorSpaceXform * | colorSpaceXformFromSRGB () const |
sk_sp< GrColorSpaceXform > | refColorSpaceXformFromSRGB () const |
GrColorType | colorType () const |
SkAlphaType | alphaType () const |
bool | isAlphaOnly () const |
bool | isValid () const |
All the info needed to interpret a color: Color type + alpha type + color space. Also caches the GrColorSpaceXform from sRGB.
Definition at line 21 of file GrColorInfo.h.
|
default |
|
default |
GrColorInfo::GrColorInfo | ( | GrColorType | colorType, |
SkAlphaType | alphaType, | ||
sk_sp< SkColorSpace > | colorSpace | ||
) |
Definition at line 16 of file GrColorInfo.cpp.
GrColorInfo::GrColorInfo | ( | const SkColorInfo & | ci | ) |
Definition at line 24 of file GrColorInfo.cpp.
|
default |
|
inline |
Definition at line 44 of file GrColorInfo.h.
SkColorSpace * GrColorInfo::colorSpace | ( | ) | const |
Definition at line 48 of file GrColorInfo.cpp.
|
inline |
Definition at line 40 of file GrColorInfo.h.
|
inline |
Definition at line 43 of file GrColorInfo.h.
|
inline |
Definition at line 46 of file GrColorInfo.h.
bool GrColorInfo::isLinearlyBlended | ( | ) | const |
Definition at line 44 of file GrColorInfo.cpp.
|
inline |
Definition at line 48 of file GrColorInfo.h.
GrColorInfo GrColorInfo::makeColorType | ( | GrColorType | ct | ) | const |
Definition at line 40 of file GrColorInfo.cpp.
|
inline |
Definition at line 31 of file GrColorInfo.h.
|
default |
bool GrColorInfo::operator== | ( | const GrColorInfo & | that | ) | const |
Definition at line 34 of file GrColorInfo.cpp.
sk_sp< SkColorSpace > GrColorInfo::refColorSpace | ( | ) | const |
Definition at line 49 of file GrColorInfo.cpp.
|
inline |
Definition at line 41 of file GrColorInfo.h.