| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 #ifndef SkPathOps_DEFINED | 7 #ifndef SkPathOps_DEFINED |
| 8 #define SkPathOps_DEFINED | 8 #define SkPathOps_DEFINED |
| 9 | 9 |
| 10 #include "../private/SkTArray.h" | 10 #include "../private/SkTArray.h" |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 @param result The product of the operands. | 85 @param result The product of the operands. |
| 86 @return True if the operation succeeded. | 86 @return True if the operation succeeded. |
| 87 */ | 87 */ |
| 88 bool resolve(SkPath* result); | 88 bool resolve(SkPath* result); |
| 89 | 89 |
| 90 private: | 90 private: |
| 91 SkTArray<SkPath> fPathRefs; | 91 SkTArray<SkPath> fPathRefs; |
| 92 SkTDArray<SkPathOp> fOps; | 92 SkTDArray<SkPathOp> fOps; |
| 93 | 93 |
| 94 static bool FixWinding(SkPath* path); | |
| 95 static void ReversePath(SkPath* path); | |
| 96 void reset(); | 94 void reset(); |
| 97 }; | 95 }; |
| 98 | 96 |
| 99 #endif | 97 #endif |
| OLD | NEW |