OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 | 7 |
8 #include "PathOpsTSectDebug.h" | 8 #include "PathOpsTSectDebug.h" |
9 #include "SkOpCoincidence.h" | 9 #include "SkOpCoincidence.h" |
10 #include "SkOpContour.h" | 10 #include "SkOpContour.h" |
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 SkDebugf("\n"); | 889 SkDebugf("\n"); |
890 indent = " "; | 890 indent = " "; |
891 next = next->fNext; | 891 next = next->fNext; |
892 } while (next && next != first); | 892 } while (next && next != first); |
893 } | 893 } |
894 | 894 |
895 void SkOpAngle::dumpCurves() const { | 895 void SkOpAngle::dumpCurves() const { |
896 const SkOpAngle* first = this; | 896 const SkOpAngle* first = this; |
897 const SkOpAngle* next = this; | 897 const SkOpAngle* next = this; |
898 do { | 898 do { |
899 next->fCurvePart.dumpID(next->segment()->debugID()); | 899 next->fPart.fCurve.dumpID(next->segment()->debugID()); |
900 next = next->fNext; | 900 next = next->fNext; |
901 } while (next && next != first); | 901 } while (next && next != first); |
902 } | 902 } |
903 | 903 |
904 void SkOpAngle::dumpLoop() const { | 904 void SkOpAngle::dumpLoop() const { |
905 const SkOpAngle* first = this; | 905 const SkOpAngle* first = this; |
906 const SkOpAngle* next = this; | 906 const SkOpAngle* next = this; |
907 do { | 907 do { |
908 next->dumpOne(false); | 908 next->dumpOne(false); |
909 SkDebugf("\n"); | 909 SkDebugf("\n"); |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1454 segment = segment->next(); | 1454 segment = segment->next(); |
1455 } | 1455 } |
1456 } while ((contour = contour->next())); | 1456 } while ((contour = contour->next())); |
1457 return nullptr; | 1457 return nullptr; |
1458 } | 1458 } |
1459 #endif | 1459 #endif |
1460 | 1460 |
1461 #if DEBUG_T_SECT_DUMP > 1 | 1461 #if DEBUG_T_SECT_DUMP > 1 |
1462 int gDumpTSectNum; | 1462 int gDumpTSectNum; |
1463 #endif | 1463 #endif |
OLD | NEW |