Index: src/pdf/SkPDFTypes.h |
diff --git a/src/pdf/SkPDFTypes.h b/src/pdf/SkPDFTypes.h |
index cff60e539add4d0a0a58ea976b90a47c909a312d..5e4de3a2595fd24d2c1b5e88ac86d8200d479d72 100644 |
--- a/src/pdf/SkPDFTypes.h |
+++ b/src/pdf/SkPDFTypes.h |
@@ -90,6 +90,8 @@ public: |
static SkPDFUnion Scalar(SkScalar); |
+ static SkPDFUnion ColorComponent(uint8_t); |
+ |
/** These two functions do NOT take ownership of char*, and do NOT |
copy the string. Suitable for passing in static const |
strings. For example: |
@@ -139,6 +141,7 @@ private: |
kDestroyed object. */ |
kDestroyed = 0, |
kInt, |
+ kColorComponent, |
kBool, |
kScalar, |
kName, |
@@ -212,6 +215,7 @@ public: |
* @param value The value to add to the array. |
*/ |
void appendInt(int32_t); |
+ void appendColorComponent(uint8_t); |
void appendBool(bool); |
void appendScalar(SkScalar); |
void appendName(const char[]); |