Chromium Code Reviews| Index: src/pathops/SkOpSegment.h |
| diff --git a/src/pathops/SkOpSegment.h b/src/pathops/SkOpSegment.h |
| index a1b5477a4e457fb93abc9e826e8e5b07827694a1..feae83852ca873320ee71f2a49a0dbe077d08cef 100644 |
| --- a/src/pathops/SkOpSegment.h |
| +++ b/src/pathops/SkOpSegment.h |
| @@ -268,6 +268,10 @@ public: |
| bool isXor() const; |
| + void joinEnds(SkOpSegment* start) { |
| + fTail.ptT()->addOpp(start->fHead.ptT(), start->fHead.ptT()); |
| + } |
| + |
| const SkPoint& lastPt() const { |
| return fPts[SkPathOpsVerbToPoints(fVerb)]; |
| } |