OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2012 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 #ifndef SkPathOpsCommon_DEFINED |
| 8 #define SkPathOpsCommon_DEFINED |
| 9 |
| 10 #include "SkOpContour.h" |
| 11 |
| 12 class SkPathWriter; |
| 13 |
| 14 void Assemble(const SkPathWriter& path, SkPathWriter& simple); |
| 15 SkOpSegment* FindChase(SkTDArray<SkOpSpan*>& chase, int& tIndex, int& endIndex); |
| 16 SkOpSegment* FindSortableTop(SkTDArray<SkOpContour*>& contourList, bool& firstCo
ntour, int& index, |
| 17 int& endIndex, SkPoint& topLeft, bool& unsortable,
bool& done, |
| 18 bool binary); |
| 19 SkOpSegment* FindUndone(SkTDArray<SkOpContour*>& contourList, int& start, int& e
nd); |
| 20 void FixOtherTIndex(SkTDArray<SkOpContour*>& contourList); |
| 21 void MakeContourList(SkTArray<SkOpContour>& contours, SkTDArray<SkOpContour*>& l
ist, |
| 22 bool evenOdd, bool oppEvenOdd); |
| 23 void SortSegments(SkTDArray<SkOpContour*>& contourList); |
| 24 |
| 25 #if DEBUG_ACTIVE_SPANS |
| 26 void DebugShowActiveSpans(SkTDArray<SkOpContour*>& contourList); |
| 27 #endif |
| 28 |
| 29 #endif |
OLD | NEW |