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

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

Issue 18058007: path ops work in progress (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: try try again Created 7 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/pathops/SkOpEdgeBuilder.cpp ('k') | src/pathops/SkOpSegment.cpp » ('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 SkOpSegment_DEFINE 7 #ifndef SkOpSegment_DEFINE
8 #define SkOpSegment_DEFINE 8 #define SkOpSegment_DEFINE
9 9
10 #include "SkOpAngle.h" 10 #include "SkOpAngle.h"
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 #if DEBUG_DUMP 311 #if DEBUG_DUMP
312 int debugID() const { 312 int debugID() const {
313 return fID; 313 return fID;
314 } 314 }
315 #endif 315 #endif
316 #if DEBUG_ACTIVE_SPANS || DEBUG_ACTIVE_SPANS_FIRST_ONLY 316 #if DEBUG_ACTIVE_SPANS || DEBUG_ACTIVE_SPANS_FIRST_ONLY
317 void debugShowActiveSpans() const; 317 void debugShowActiveSpans() const;
318 #endif 318 #endif
319 #if DEBUG_SORT || DEBUG_SWAP_TOP 319 #if DEBUG_SORT || DEBUG_SWAP_TOP
320 void debugShowSort(const char* fun, const SkTArray<SkOpAngle*, true>& angles , int first, 320 void debugShowSort(const char* fun, const SkTArray<SkOpAngle*, true>& angles , int first,
321 const int contourWinding, const int oppContourWinding) const; 321 const int contourWinding, const int oppContourWinding, bool sortable ) const;
322 void debugShowSort(const char* fun, const SkTArray<SkOpAngle*, true>& angles , int first); 322 void debugShowSort(const char* fun, const SkTArray<SkOpAngle*, true>& angles , int first,
323 bool sortable);
323 #endif 324 #endif
324 #if DEBUG_CONCIDENT 325 #if DEBUG_CONCIDENT
325 void debugShowTs() const; 326 void debugShowTs() const;
326 #endif 327 #endif
327 #if DEBUG_SHOW_WINDING 328 #if DEBUG_SHOW_WINDING
328 int debugShowWindingValues(int slotCount, int ofInterest) const; 329 int debugShowWindingValues(int slotCount, int ofInterest) const;
329 #endif 330 #endif
330 331
331 private: 332 private:
332 bool activeAngleOther(int index, int* done, SkTArray<SkOpAngle, true>* angle s); 333 bool activeAngleOther(int index, int* done, SkTArray<SkOpAngle, true>* angle s);
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 SkPath::Verb fVerb; 404 SkPath::Verb fVerb;
404 bool fOperand; 405 bool fOperand;
405 bool fXor; // set if original contour had even-odd fill 406 bool fXor; // set if original contour had even-odd fill
406 bool fOppXor; // set if opposite operand had even-odd fill 407 bool fOppXor; // set if opposite operand had even-odd fill
407 #if DEBUG_DUMP 408 #if DEBUG_DUMP
408 int fID; 409 int fID;
409 #endif 410 #endif
410 }; 411 };
411 412
412 #endif 413 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkOpEdgeBuilder.cpp ('k') | src/pathops/SkOpSegment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698