mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00:00
LibWeb: Implement CanvasDrawPath::isPointInPath()
This commit is contained in:
parent
18bc5972f4
commit
259e798a26
Notes:
github-actions[bot]
2024-09-18 20:22:53 +00:00
Author: https://github.com/mierenhoop
Commit: 259e798a26
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1423
Reviewed-by: https://github.com/AtkinsSJ
4 changed files with 25 additions and 2 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue