Index: include/core/SkColor.h |
diff --git a/include/core/SkColor.h b/include/core/SkColor.h |
index 461a53877dd799db9d989f98da9be8d767d85010..90453f548cd02f8f5568dcedba033c5ab0671be5 100644 |
--- a/include/core/SkColor.h |
+++ b/include/core/SkColor.h |
@@ -160,6 +160,8 @@ typedef SkPMColor (*SkXfermodeProc)(SkPMColor src, SkPMColor dst); |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
+struct SkColor4f; |
+ |
/* |
* The float values are 0...1 premultiplied |
*/ |
@@ -174,6 +176,8 @@ struct SkPM4f { |
float a() const { return fVec[A]; } |
+ SkColor4f unpremul() const; |
+ |
static SkPM4f FromPMColor(SkPMColor); |
#ifdef SK_DEBUG |