| 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 SkOpEdgeBuilder_DEFINED | 7 #ifndef SkOpEdgeBuilder_DEFINED |
| 8 #define SkOpEdgeBuilder_DEFINED | 8 #define SkOpEdgeBuilder_DEFINED |
| 9 | 9 |
| 10 #include "SkOpContour.h" | 10 #include "SkOpContour.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 private: | 55 private: |
| 56 void closeContour(const SkPoint& curveEnd, const SkPoint& curveStart); | 56 void closeContour(const SkPoint& curveEnd, const SkPoint& curveStart); |
| 57 bool close(); | 57 bool close(); |
| 58 int preFetch(); | 58 int preFetch(); |
| 59 bool walk(SkChunkAlloc* ); | 59 bool walk(SkChunkAlloc* ); |
| 60 | 60 |
| 61 SkChunkAlloc* fAllocator; | 61 SkChunkAlloc* fAllocator; |
| 62 SkOpGlobalState* fGlobalState; | 62 SkOpGlobalState* fGlobalState; |
| 63 const SkPath* fPath; | 63 const SkPath* fPath; |
| 64 SkTDArray<SkPoint> fPathPts; | 64 SkTDArray<SkPoint> fPathPts; |
| 65 SkTDArray<SkScalar> fWeights; |
| 65 SkTDArray<uint8_t> fPathVerbs; | 66 SkTDArray<uint8_t> fPathVerbs; |
| 66 SkOpContour* fCurrentContour; | 67 SkOpContour* fCurrentContour; |
| 67 SkOpContour* fContoursHead; | 68 SkOpContour* fContoursHead; |
| 68 SkPathOpsMask fXorMask[2]; | 69 SkPathOpsMask fXorMask[2]; |
| 69 int fSecondHalf; | 70 int fSecondHalf; |
| 70 bool fOperand; | 71 bool fOperand; |
| 71 bool fAllowOpenContours; | 72 bool fAllowOpenContours; |
| 72 bool fUnparseable; | 73 bool fUnparseable; |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 #endif | 76 #endif |
| OLD | NEW |