| Index: tests/PathOpsTSectDebug.h
|
| diff --git a/tests/PathOpsTSectDebug.h b/tests/PathOpsTSectDebug.h
|
| index 51532f84768988ae4f9444edcca2d25cfed28629..9db904d06bef6df7c66e2f4abe69c17456acdd3b 100644
|
| --- a/tests/PathOpsTSectDebug.h
|
| +++ b/tests/PathOpsTSectDebug.h
|
| @@ -83,8 +83,10 @@ void SkTSect<TCurve, OppCurve>::dumpBounded(int id) const {
|
| do {
|
| if (test->findOppSpan(bounded)) {
|
| test->dump();
|
| + SkDebugf(" ");
|
| }
|
| } while ((test = test->next()));
|
| + SkDebugf("\n");
|
| }
|
|
|
| template<typename TCurve, typename OppCurve>
|
| @@ -141,6 +143,24 @@ const SkTSpan<TCurve, OppCurve>* SkTSpan<TCurve, OppCurve>::debugT(double t) con
|
| }
|
|
|
| template<typename TCurve, typename OppCurve>
|
| +void SkTSpan<TCurve, OppCurve>::dumpAll() const {
|
| + dumpID();
|
| + SkDebugf("=(%g,%g) [", fStartT, fEndT);
|
| + const SkTSpanBounded<OppCurve, TCurve>* testBounded = fBounded;
|
| + while (testBounded) {
|
| + const SkTSpan<OppCurve, TCurve>* span = testBounded->fBounded;
|
| + const SkTSpanBounded<OppCurve, TCurve>* next = testBounded->fNext;
|
| + span->dumpID();
|
| + SkDebugf("=(%g,%g)", span->fStartT, span->fEndT);
|
| + if (next) {
|
| + SkDebugf(" ");
|
| + }
|
| + testBounded = next;
|
| + }
|
| + SkDebugf("]\n");
|
| +}
|
| +
|
| +template<typename TCurve, typename OppCurve>
|
| void SkTSpan<TCurve, OppCurve>::dump() const {
|
| dumpID();
|
| SkDebugf("=(%g,%g) [", fStartT, fEndT);
|
|
|