diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-17 10:58:49 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-17 10:58:49 +0000 |
commit | 01ec2eb42e9c64f8d06afd51f80c055710147141 (patch) | |
tree | c599956d7d00e3795317abb4ae4f0a35ce0a3395 /include/core | |
parent | 24a93569abbd53917548f54f236d1e92795306a7 (diff) |
Added Serialization of SkPath's bound
http://codereview.appspot.com/6458143/
git-svn-id: http://skia.googlecode.com/svn/trunk@5143 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkPath.h | 8 |
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; |