OLD | NEW |
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/SkAtomics.h" |
12 #include "../private/SkTDArray.h" | 13 #include "../private/SkTDArray.h" |
13 #include "SkMatrix.h" | 14 #include "SkMatrix.h" |
14 #include "SkPoint.h" | 15 #include "SkPoint.h" |
15 #include "SkRRect.h" | 16 #include "SkRRect.h" |
16 #include "SkRect.h" | 17 #include "SkRect.h" |
17 #include "SkRefCnt.h" | 18 #include "SkRefCnt.h" |
18 #include <stddef.h> // ptrdiff_t | 19 #include <stddef.h> // ptrdiff_t |
19 | 20 |
20 class SkRBuffer; | 21 class SkRBuffer; |
21 class SkWBuffer; | 22 class SkWBuffer; |
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 SkBool8 fIsOval; | 500 SkBool8 fIsOval; |
500 SkBool8 fIsRRect; | 501 SkBool8 fIsRRect; |
501 uint8_t fSegmentMask; | 502 uint8_t fSegmentMask; |
502 | 503 |
503 friend class PathRefTest_Private; | 504 friend class PathRefTest_Private; |
504 friend class ForceIsRRect_Private; // unit test isRRect | 505 friend class ForceIsRRect_Private; // unit test isRRect |
505 typedef SkRefCnt INHERITED; | 506 typedef SkRefCnt INHERITED; |
506 }; | 507 }; |
507 | 508 |
508 #endif | 509 #endif |
OLD | NEW |