mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
LibWeb: Add SVG <polyline>
element and test case :^)
This commit is contained in:
parent
17912330c4
commit
116a1f485c
13 changed files with 141 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGfx/Point.h>
|
||||
|
||||
namespace Web::SVG {
|
||||
|
||||
|
@ -42,6 +43,7 @@ public:
|
|||
static Optional<float> parse_coordinate(StringView input);
|
||||
static Optional<float> parse_length(StringView input);
|
||||
static Optional<float> parse_positive_length(StringView input);
|
||||
static Vector<Gfx::FloatPoint> parse_points(StringView input);
|
||||
|
||||
private:
|
||||
void parse_drawto();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue