| Index: src/core/SkEdgeClipper.h
|
| diff --git a/src/core/SkEdgeClipper.h b/src/core/SkEdgeClipper.h
|
| index e16ed552ca225cf56f3fa9a2cca3b1bb8aceb725..16887b4a32137c5e9500f0a58ffe05c6c268558d 100644
|
| --- a/src/core/SkEdgeClipper.h
|
| +++ b/src/core/SkEdgeClipper.h
|
| @@ -17,14 +17,19 @@
|
| */
|
| class SkEdgeClipper {
|
| public:
|
| + SkEdgeClipper(bool canCullToTheRight) : fCanCullToTheRight(canCullToTheRight) {}
|
| +
|
| bool clipQuad(const SkPoint pts[3], const SkRect& clip);
|
| bool clipCubic(const SkPoint pts[4], const SkRect& clip);
|
|
|
| SkPath::Verb next(SkPoint pts[]);
|
|
|
| + bool canCullToTheRight() const { return fCanCullToTheRight; }
|
| +
|
| private:
|
| SkPoint* fCurrPoint;
|
| SkPath::Verb* fCurrVerb;
|
| + const bool fCanCullToTheRight;
|
|
|
| enum {
|
| kMaxVerbs = 13,
|
|
|