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 SkAddIntersections_DEFINED | 7 #ifndef SkAddIntersections_DEFINED |
8 #define SkAddIntersections_DEFINED | 8 #define SkAddIntersections_DEFINED |
9 | 9 |
10 #include "SkIntersectionHelper.h" | 10 #include "SkIntersectionHelper.h" |
11 #include "SkIntersections.h" | 11 #include "SkIntersections.h" |
12 #include "SkTArray.h" | |
13 | 12 |
14 bool AddIntersectTs(SkOpContour* test, SkOpContour* next); | 13 class SkOpCoincidence; |
15 void AddSelfIntersectTs(SkOpContour* test); | 14 |
16 bool CoincidenceCheck(SkTArray<SkOpContour*, true>* contourList, int total); | 15 bool AddIntersectTs(SkOpContour* test, SkOpContour* next, SkOpCoincidence* coinc
idence, |
| 16 SkChunkAlloc* allocator); |
17 | 17 |
18 #endif | 18 #endif |
OLD | NEW |