-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend parsing of SVG path definitions #98
base: feature/no-org
Are you sure you want to change the base?
Extend parsing of SVG path definitions #98
Commits on Feb 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 31aa7f1 - Browse repository at this point
Copy the full SHA 31aa7f1View commit details -
Expand tests to include geometry objects + successful parsing
The W3C triangle example parses correctly according to these tests.
Configuration menu - View commit details
-
Copy full SHA for 12cdf2d - Browse repository at this point
Copy the full SHA 12cdf2dView commit details
Commits on Feb 21, 2023
-
Rework coordinate regex to handle two W3C-defined corner cases
Quoting from the section of the spec defining the grammar: "...in the string "M 100-200" ... the first coordinate will be "100" and the second coordinate will be "-200". "Similarly, for the string "M 0.6.5"... the first coordinate will be "0.6" and the second coordinate will be ".5".
Configuration menu - View commit details
-
Copy full SHA for 71c0d9b - Browse repository at this point
Copy the full SHA 71c0d9bView commit details
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9d6c579 - Browse repository at this point
Copy the full SHA 9d6c579View commit details
Commits on Feb 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f5f3a6 - Browse repository at this point
Copy the full SHA 4f5f3a6View commit details
Commits on Feb 27, 2023
-
Expand parsing to handle cases of single-coordinate sequences
This is a necessary requirement for the horizontal and vertical move commands.
Configuration menu - View commit details
-
Copy full SHA for 285054b - Browse repository at this point
Copy the full SHA 285054bView commit details
Commits on Mar 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 61f848b - Browse repository at this point
Copy the full SHA 61f848bView commit details -
A corner case: a move command with no other commands
One unresolved question: should move-only commands parse into Vec2 geometries or return nil?
Configuration menu - View commit details
-
Copy full SHA for 6a27427 - Browse repository at this point
Copy the full SHA 6a27427View commit details
Commits on Mar 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b43a673 - Browse repository at this point
Copy the full SHA b43a673View commit details
Commits on Mar 22, 2023
-
Include relative info in parsed path + fix command dispatch
The geometry tests still indicate that the parsed segments do not yet have a working geometric implementation.
Configuration menu - View commit details
-
Copy full SHA for b159f5c - Browse repository at this point
Copy the full SHA b159f5cView commit details
Commits on Mar 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 12d9b14 - Browse repository at this point
Copy the full SHA 12d9b14View commit details -
Add more multimethods for segment types
Plus, align segment definition with terminology used elsewhere in the library.
Configuration menu - View commit details
-
Copy full SHA for 8bcc014 - Browse repository at this point
Copy the full SHA 8bcc014View commit details
Commits on Mar 29, 2023
-
Add "move" segment (which is really just a point)
This enables consistent sampling behavior on paths that consist only of a single move command
Configuration menu - View commit details
-
Copy full SHA for 88ffa09 - Browse repository at this point
Copy the full SHA 88ffa09View commit details