Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: src/pathops/SkOpEdgeBuilder.h

Issue 1037953004: add conics to path ops (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix linux build Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698