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 #include "SkAddIntersections.h" | 7 #include "SkAddIntersections.h" |
8 #include "SkOpCoincidence.h" | 8 #include "SkOpCoincidence.h" |
9 #include "SkOpEdgeBuilder.h" | 9 #include "SkOpEdgeBuilder.h" |
10 #include "SkPathOpsCommon.h" | 10 #include "SkPathOpsCommon.h" |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 { // if some edges could not be resolved, assemble remaining fragments | 205 { // if some edges could not be resolved, assemble remaining fragments |
206 SkPath temp; | 206 SkPath temp; |
207 temp.setFillType(fillType); | 207 temp.setFillType(fillType); |
208 SkPathWriter assembled(temp); | 208 SkPathWriter assembled(temp); |
209 Assemble(wrapper, &assembled); | 209 Assemble(wrapper, &assembled); |
210 *result = *assembled.nativePath(); | 210 *result = *assembled.nativePath(); |
211 result->setFillType(fillType); | 211 result->setFillType(fillType); |
212 } | 212 } |
213 return true; | 213 return true; |
214 } | 214 } |
| 215 |
OLD | NEW |