diff options
Diffstat (limited to 'experimental/sksg/SkSGGeometryNode.h')
-rw-r--r-- | experimental/sksg/SkSGGeometryNode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/experimental/sksg/SkSGGeometryNode.h b/experimental/sksg/SkSGGeometryNode.h index b436d27570..7ce3aa9b79 100644 --- a/experimental/sksg/SkSGGeometryNode.h +++ b/experimental/sksg/SkSGGeometryNode.h @@ -24,6 +24,7 @@ namespace sksg { */ class GeometryNode : public Node { public: + void clip(SkCanvas*, bool antiAlias) const; void draw(SkCanvas*, const SkPaint&) const; SkPath asPath() const; @@ -31,6 +32,8 @@ public: protected: GeometryNode(); + virtual void onClip(SkCanvas*, bool antiAlias) const = 0; + virtual void onDraw(SkCanvas*, const SkPaint&) const = 0; virtual SkPath onAsPath() const = 0; |