From 01ec2eb42e9c64f8d06afd51f80c055710147141 Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Fri, 17 Aug 2012 10:58:49 +0000 Subject: 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 --- include/core/SkPath.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/core') 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 fPts; SkTDArray fVerbs; mutable SkRect fBounds; -- cgit v1.2.3