OLD | NEW |
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 SkPathOpsLine_DEFINED | 7 #ifndef SkPathOpsLine_DEFINED |
8 #define SkPathOpsLine_DEFINED | 8 #define SkPathOpsLine_DEFINED |
9 | 9 |
10 #include "SkPathOpsPoint.h" | 10 #include "SkPathOpsPoint.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 // only used by testing | 27 // only used by testing |
28 double isLeft(const SkDPoint& pt) const; | 28 double isLeft(const SkDPoint& pt) const; |
29 | 29 |
30 double nearPoint(const SkDPoint& xy, bool* unequal) const; | 30 double nearPoint(const SkDPoint& xy, bool* unequal) const; |
31 bool nearRay(const SkDPoint& xy) const; | 31 bool nearRay(const SkDPoint& xy) const; |
32 static double NearPointH(const SkDPoint& xy, double left, double right, doub
le y); | 32 static double NearPointH(const SkDPoint& xy, double left, double right, doub
le y); |
33 static double NearPointV(const SkDPoint& xy, double top, double bottom, doub
le x); | 33 static double NearPointV(const SkDPoint& xy, double top, double bottom, doub
le x); |
34 SkDPoint ptAtT(double t) const; | 34 SkDPoint ptAtT(double t) const; |
35 | 35 |
36 void dump() const; | 36 void dump() const; |
| 37 void dumpID(int ) const; |
| 38 void dumpInner() const; |
37 }; | 39 }; |
38 | 40 |
39 #endif | 41 #endif |
OLD | NEW |