Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: src/core/SkRasterClip.h

Issue 546113002: move rasterclip_ helper into rasterclip (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/core/SkRasterClip.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « src/core/SkCanvas.cpp ('k') | src/core/SkRasterClip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698