1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:18:11 +00:00

LibGfx: Add Path::close_all_subpaths()

Unlike Path::close() which closes only the last subpath (if possible),
this closure mechanism closes _all_ available subpaths.
This commit is contained in:
AnotherTest 2020-05-10 01:46:09 +04:30 committed by Andreas Kling
parent c3aa249a36
commit 6f15f23a40
2 changed files with 42 additions and 0 deletions

View file

@ -69,6 +69,7 @@ public:
}
void close();
void close_all_subpaths();
struct LineSegment {
FloatPoint from, to;