diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-16 21:03:17 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-16 21:04:46 +0200 |
commit | 60c2e41079c94ed30c53f8c1ba167d24247aa875 (patch) | |
tree | 87cdbb96947fe6d303b02286f5f09a8a1e67997e /Base | |
parent | 72df9c741746a16125a46b6e2be567c45925911e (diff) | |
download | serenity-60c2e41079c94ed30c53f8c1ba167d24247aa875.zip |
LibGfx: Add Gfx::Path, a basic 2D path with <canvas> semantics
This will be used to implement painting of 2D paths. This first patch
adds support for line_to(), move_to() and close().
It will try to have the same semantics as the HTML <canvas> element.
To stroke a Path, simply pass it to Painter::stroke_path().
Diffstat (limited to 'Base')
0 files changed, 0 insertions, 0 deletions