aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/SkSGGeometryNode.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/sksg/SkSGGeometryNode.h')
-rw-r--r--experimental/sksg/SkSGGeometryNode.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/experimental/sksg/SkSGGeometryNode.h b/experimental/sksg/SkSGGeometryNode.h
index a43937510f..a898b06519 100644
--- a/experimental/sksg/SkSGGeometryNode.h
+++ b/experimental/sksg/SkSGGeometryNode.h
@@ -12,6 +12,7 @@
class SkCanvas;
class SkPaint;
+class SkPath;
namespace sksg {
@@ -25,14 +26,14 @@ class GeometryNode : public Node {
public:
void draw(SkCanvas*, const SkPaint&) const;
- // SkPath asPath() const; // unused for now
+ SkPath asPath() const;
protected:
GeometryNode() = default;
virtual void onDraw(SkCanvas*, const SkPaint&) const = 0;
- // virtual SkPath onAsPath() const = 0; // unused for now
+ virtual SkPath onAsPath() const = 0;
private:
friend class Draw; // wants to know the cached bounds.