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:
parent
c3aa249a36
commit
6f15f23a40
2 changed files with 42 additions and 0 deletions
|
@ -69,6 +69,7 @@ public:
|
|||
}
|
||||
|
||||
void close();
|
||||
void close_all_subpaths();
|
||||
|
||||
struct LineSegment {
|
||||
FloatPoint from, to;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue