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

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

Issue 239563004: fix minor skp-found bugs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix mac-detected errors Created 6 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
« no previous file with comments | « src/pathops/SkOpSegment.cpp ('k') | src/pathops/SkPathOpsCommon.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 SkOpSpan_DEFINED 7 #ifndef SkOpSpan_DEFINED
8 #define SkOpSpan_DEFINED 8 #define SkOpSpan_DEFINED
9 9
10 #include "SkPoint.h" 10 #include "SkPoint.h"
(...skipping 10 matching lines...) Expand all
21 int fToAngleIndex; // (if t < 1) index into segment's angle array going pos itive in t 21 int fToAngleIndex; // (if t < 1) index into segment's angle array going pos itive in t
22 int fWindSum; // accumulated from contours surrounding this one. 22 int fWindSum; // accumulated from contours surrounding this one.
23 int fOppSum; // for binary operators: the opposite winding sum 23 int fOppSum; // for binary operators: the opposite winding sum
24 int fWindValue; // 0 == canceled; 1 == normal; >1 == coincident 24 int fWindValue; // 0 == canceled; 1 == normal; >1 == coincident
25 int fOppValue; // normally 0 -- when binary coincident edges combine, opp v alue goes here 25 int fOppValue; // normally 0 -- when binary coincident edges combine, opp v alue goes here
26 bool fChased; // set after span has been added to chase array 26 bool fChased; // set after span has been added to chase array
27 bool fDone; // if set, this span to next higher T has been processed 27 bool fDone; // if set, this span to next higher T has been processed
28 bool fLoop; // set when a cubic loops back to this point 28 bool fLoop; // set when a cubic loops back to this point
29 bool fSmall; // if set, consecutive points are almost equal 29 bool fSmall; // if set, consecutive points are almost equal
30 bool fTiny; // if set, consecutive points are equal but consecutive ts are not precisely equal 30 bool fTiny; // if set, consecutive points are equal but consecutive ts are not precisely equal
31 bool fUnsortableStart; // set when start is part of an unsortable pair
32 bool fUnsortableEnd; // set when end is part of an unsortable pair
33 31
34 // available to testing only 32 // available to testing only
35 const SkOpSegment* debugToSegment(ptrdiff_t* ) const; 33 const SkOpSegment* debugToSegment(ptrdiff_t* ) const;
36 void dump() const; 34 void dump() const;
37 void dumpOne() const; 35 void dumpOne() const;
38 }; 36 };
39 37
40 #endif 38 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkOpSegment.cpp ('k') | src/pathops/SkPathOpsCommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698