| Index: src/pathops/SkPathOpsPoint.h
|
| diff --git a/src/pathops/SkPathOpsPoint.h b/src/pathops/SkPathOpsPoint.h
|
| index 045b1b4d46a72ad12fe47e93cde7662c99afdc27..51216b60ef407515b3f6a526d66242f592fe5080 100644
|
| --- a/src/pathops/SkPathOpsPoint.h
|
| +++ b/src/pathops/SkPathOpsPoint.h
|
| @@ -159,6 +159,24 @@ struct SkDPoint {
|
| double roughlyEqual(const SkDPoint& a) const {
|
| return roughly_equal(a.fY, fY) && roughly_equal(a.fX, fX);
|
| }
|
| +
|
| + #ifdef SK_DEBUG
|
| + void dump() {
|
| + SkDebugf("{");
|
| + DebugDumpDouble(fX);
|
| + SkDebugf(", ");
|
| + DebugDumpDouble(fY);
|
| + SkDebugf("}");
|
| + }
|
| +
|
| + static void DumpSkPoint(const SkPoint& pt) {
|
| + SkDebugf("{");
|
| + DebugDumpFloat(pt.fX);
|
| + SkDebugf(", ");
|
| + DebugDumpFloat(pt.fY);
|
| + SkDebugf("}");
|
| + }
|
| + #endif
|
| };
|
|
|
| #endif
|
|
|