Index: src/core/SkRasterClip.h |
diff --git a/src/core/SkRasterClip.h b/src/core/SkRasterClip.h |
index 29a925f2a283ade5ebc0d0125e40a1d4a2212deb..0d09e43e84bf40d0878812791676ec2d306d5697 100644 |
--- a/src/core/SkRasterClip.h |
+++ b/src/core/SkRasterClip.h |
@@ -39,14 +39,11 @@ public: |
bool setEmpty(); |
bool setRect(const SkIRect&); |
- bool setPath(const SkPath& path, const SkRegion& clip, bool doAA); |
- bool setPath(const SkPath& path, const SkIRect& clip, bool doAA); |
- |
bool op(const SkIRect&, SkRegion::Op); |
bool op(const SkRegion&, SkRegion::Op); |
- bool op(const SkRasterClip&, SkRegion::Op); |
bool op(const SkRect&, SkRegion::Op, bool doAA); |
- |
+ bool op(const SkPath&, const SkISize&, SkRegion::Op, bool doAA); |
+ |
void translate(int dx, int dy, SkRasterClip* dst) const; |
void translate(int dx, int dy) { |
this->translate(dx, dy, this); |
@@ -107,6 +104,10 @@ private: |
} |
void convertToAA(); |
+ |
+ bool setPath(const SkPath& path, const SkRegion& clip, bool doAA); |
+ bool setPath(const SkPath& path, const SkIRect& clip, bool doAA); |
+ bool op(const SkRasterClip&, SkRegion::Op); |
}; |
class SkAutoRasterClipValidate : SkNoncopyable { |