aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkColorSpace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkColorSpace.h b/include/core/SkColorSpace.h
index c945703549..ebc0ca1d91 100644
--- a/include/core/SkColorSpace.h
+++ b/include/core/SkColorSpace.h
@@ -48,6 +48,12 @@ struct SK_API SkColorSpaceTransferFn {
float fD;
float fE;
float fF;
+
+ /**
+ * Produces a new parametric transfer function equation that is the mathematical inverse of
+ * this one.
+ */
+ SkColorSpaceTransferFn invert() const;
};
class SK_API SkColorSpace : public SkRefCnt {