LibWeb: Implement CanvasDrawPath::isPointInPath()

This commit is contained in:
mierenhoop 2024-09-18 10:52:33 +02:00 committed by Sam Atkins
commit 259e798a26
Notes: github-actions[bot] 2024-09-18 20:22:53 +00:00
4 changed files with 25 additions and 2 deletions

View file

@ -27,6 +27,9 @@ public:
virtual void clip(StringView fill_rule) = 0;
virtual void clip(Path2D& path, StringView fill_rule) = 0;
virtual bool is_point_in_path(double x, double y, StringView fill_rule) = 0;
virtual bool is_point_in_path(Path2D const& path, double x, double y, StringView fill_rule) = 0;
protected:
CanvasDrawPath() = default;
};