diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkColorSpace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h index 6c0db85d7b..1bcb44fbc5 100644 --- a/include/core/SkColorSpace.h +++ b/include/core/SkColorSpace.h @@ -118,6 +118,12 @@ public: bool gammaIsLinear() const; /** + * Returns true and sets |toXYZD50| if the color gamut can be described as a matrix. + * Returns false otherwise. + */ + bool toXYZD50(SkMatrix44* toXYZD50) const; + + /** * Returns nullptr on failure. Fails when we fallback to serializing ICC data and * the data is too large to serialize. */ |