Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1031)

Side by Side Diff: include/core/SkPathRef.h

Issue 1707213002: Move SkTDArray to private. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/core/SkPathMeasure.h ('k') | include/core/SkPixelRef.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2012 Google Inc. 3 * Copyright 2012 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #ifndef SkPathRef_DEFINED 9 #ifndef SkPathRef_DEFINED
10 #define SkPathRef_DEFINED 10 #define SkPathRef_DEFINED
11 11
12 #include "../private/SkTDArray.h"
12 #include "SkMatrix.h" 13 #include "SkMatrix.h"
13 #include "SkPoint.h" 14 #include "SkPoint.h"
14 #include "SkRRect.h" 15 #include "SkRRect.h"
15 #include "SkRect.h" 16 #include "SkRect.h"
16 #include "SkRefCnt.h" 17 #include "SkRefCnt.h"
17 #include "SkTDArray.h"
18 #include <stddef.h> // ptrdiff_t 18 #include <stddef.h> // ptrdiff_t
19 19
20 class SkRBuffer; 20 class SkRBuffer;
21 class SkWBuffer; 21 class SkWBuffer;
22 22
23 /** 23 /**
24 * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods 24 * Holds the path verbs and points. It is versioned by a generation ID. None of its public methods
25 * modify the contents. To modify or append to the verbs/points wrap the SkPathR ef in an 25 * modify the contents. To modify or append to the verbs/points wrap the SkPathR ef in an
26 * SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs 26 * SkPathRef::Editor object. Installing the editor resets the generation ID. It also performs
27 * copy-on-write if the SkPathRef is shared by multiple SkPaths. The caller pass es the Editor's 27 * copy-on-write if the SkPathRef is shared by multiple SkPaths. The caller pass es the Editor's
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 SkBool8 fIsOval; 497 SkBool8 fIsOval;
498 SkBool8 fIsRRect; 498 SkBool8 fIsRRect;
499 uint8_t fSegmentMask; 499 uint8_t fSegmentMask;
500 500
501 friend class PathRefTest_Private; 501 friend class PathRefTest_Private;
502 friend class ForceIsRRect_Private; // unit test isRRect 502 friend class ForceIsRRect_Private; // unit test isRRect
503 typedef SkRefCnt INHERITED; 503 typedef SkRefCnt INHERITED;
504 }; 504 };
505 505
506 #endif 506 #endif
OLDNEW
« no previous file with comments | « include/core/SkPathMeasure.h ('k') | include/core/SkPixelRef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698