| Index: src/pathops/SkOpSpan.cpp
|
| diff --git a/src/pathops/SkOpSpan.cpp b/src/pathops/SkOpSpan.cpp
|
| index f5a52099da4be84f9d9a71ce7cb37b48637eeccd..5c89c736fb82966b586aa3ee09f759d348b4e91c 100755
|
| --- a/src/pathops/SkOpSpan.cpp
|
| +++ b/src/pathops/SkOpSpan.cpp
|
| @@ -13,6 +13,16 @@ bool SkOpPtT::alias() const {
|
| return this->span()->ptT() != this;
|
| }
|
|
|
| +bool SkOpPtT::collapsed(const SkOpPtT* check) const {
|
| + if (fPt != check->fPt) {
|
| + return false;
|
| + }
|
| + SkASSERT(this != check);
|
| + const SkOpSegment* segment = this->segment();
|
| + SkASSERT(segment == check->segment());
|
| + return segment->collapsed();
|
| +}
|
| +
|
| bool SkOpPtT::contains(const SkOpPtT* check) const {
|
| SkASSERT(this != check);
|
| const SkOpPtT* ptT = this;
|
|
|