aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPath.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkPath.h')
-rw-r--r--include/core/SkPath.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index ae8ecb7997..fe983369a7 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -824,6 +824,14 @@ public:
SkDEBUGCODE(void validate() const;)
private:
+ enum SerializationOffsets {
+ kIsFinite_SerializationShift = 25,
+ kIsOval_SerializationShift = 24,
+ kConvexity_SerializationShift = 16,
+ kFillType_SerializationShift = 8,
+ kSegmentMask_SerializationShift = 0
+ };
+
SkTDArray<SkPoint> fPts;
SkTDArray<uint8_t> fVerbs;
mutable SkRect fBounds;