-
Notifications
You must be signed in to change notification settings - Fork 25
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
Back merge #7
Back merge #7
Commits on May 24, 2017
-
This change has been taken from the PR at rustyoz#4
Configuration menu - View commit details
-
Copy full SHA for 6541e6d - Browse repository at this point
Copy the full SHA 6541e6dView commit details -
This change has been taken from the pull request at rustyoz#4
Configuration menu - View commit details
-
Copy full SHA for 9eb05a4 - Browse repository at this point
Copy the full SHA 9eb05a4View commit details -
Add translate transform and transform support for path
These changes are from the pull request at rustyoz#3
Configuration menu - View commit details
-
Copy full SHA for 60fe3ad - Browse repository at this point
Copy the full SHA 60fe3adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 705e640 - Browse repository at this point
Copy the full SHA 705e640View commit details
Commits on May 26, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 62b50e5 - Browse repository at this point
Copy the full SHA 62b50e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7213c0f - Browse repository at this point
Copy the full SHA 7213c0fView commit details -
Make the code work without any groups being present
This is hacky but it should work for now.
Configuration menu - View commit details
-
Copy full SHA for 99b8b1f - Browse repository at this point
Copy the full SHA 99b8b1fView commit details -
In addition to the path segments we want to emit drawinginstructions. We gradually start converting the parsing functions to also emit these instructions.
Configuration menu - View commit details
-
Copy full SHA for c2d05b7 - Browse repository at this point
Copy the full SHA c2d05b7View commit details -
path: add DrawingInstructions emission for line commands
Also add the close path instruction.
Configuration menu - View commit details
-
Copy full SHA for 2465871 - Browse repository at this point
Copy the full SHA 2465871View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4dddda - Browse repository at this point
Copy the full SHA a4ddddaView commit details
Commits on May 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1a44c83 - Browse repository at this point
Copy the full SHA 1a44c83View commit details -
Return both channels in our parse function
We also make sure that both get drained.
Configuration menu - View commit details
-
Copy full SHA for ded417f - Browse repository at this point
Copy the full SHA ded417fView commit details
Commits on May 30, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 1156198 - Browse repository at this point
Copy the full SHA 1156198View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92104aa - Browse repository at this point
Copy the full SHA 92104aaView commit details -
Introduce the DrawingInstructionParser interface
Implementers of this interface are able to return a channel of DrawingInstructions. All SVG elements should implement this interface allowing us to draw all of them.
Configuration menu - View commit details
-
Copy full SHA for 35908bf - Browse repository at this point
Copy the full SHA 35908bfView commit details -
Make sure the channels are closed
It hey are not, we will get a deadlock.
Configuration menu - View commit details
-
Copy full SHA for 0840c15 - Browse repository at this point
Copy the full SHA 0840c15View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac28d3e - Browse repository at this point
Copy the full SHA ac28d3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 79565f6 - Browse repository at this point
Copy the full SHA 79565f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6148280 - Browse repository at this point
Copy the full SHA 6148280View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc395a1 - Browse repository at this point
Copy the full SHA bc395a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67202a3 - Browse repository at this point
Copy the full SHA 67202a3View commit details
Commits on May 31, 2017
-
This DrawingInstructions signifies that a path element should now be drawn. We need to do this in order to be able to take the line width into account.
Configuration menu - View commit details
-
Copy full SHA for 8f56c5c - Browse repository at this point
Copy the full SHA 8f56c5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e6f2a9 - Browse repository at this point
Copy the full SHA 7e6f2a9View commit details -
path: don't add the point twice
Apparently we were adding the same point twice which is not what we wanted to do.
Configuration menu - View commit details
-
Copy full SHA for 1884e15 - Browse repository at this point
Copy the full SHA 1884e15View commit details
Commits on Jun 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a547fd6 - Browse repository at this point
Copy the full SHA a547fd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f582da2 - Browse repository at this point
Copy the full SHA f582da2View commit details -
We also make sure that we emit a CloseInstruction regardless of the segment state.
Configuration menu - View commit details
-
Copy full SHA for 1c14136 - Browse repository at this point
Copy the full SHA 1c14136View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc317f0 - Browse repository at this point
Copy the full SHA dc317f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee53537 - Browse repository at this point
Copy the full SHA ee53537View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee9a85b - Browse repository at this point
Copy the full SHA ee9a85bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7488f08 - Browse repository at this point
Copy the full SHA 7488f08View commit details -
path: use the transformed relativ start points
We were using the non-transformed ones by mistake.
Configuration menu - View commit details
-
Copy full SHA for f346efe - Browse repository at this point
Copy the full SHA f346efeView commit details
Commits on Jun 2, 2017
-
The SVG we get sometimes contains commata between points. At the moment we only added it to the 'C' command coordinate parsing and we may have to add it to other places later.
Configuration menu - View commit details
-
Copy full SHA for fc8461e - Browse repository at this point
Copy the full SHA fc8461eView commit details -
path,svg: make fill attribute a pointer
That way we can more easily distinguish between the no-attribute-present case and the attribute set to "none" case.
Configuration menu - View commit details
-
Copy full SHA for 636b2cb - Browse repository at this point
Copy the full SHA 636b2cbView commit details
Commits on Jun 6, 2017
-
svg: add ParseDrawingInstructions method to Svg
It would be more elegant to use this method to get all the drawing instructions. Sadly, at the moment we rely on knowing whether there is a scale operation in the group or not so we cannot use this method yet.
Configuration menu - View commit details
-
Copy full SHA for 26ccc43 - Browse repository at this point
Copy the full SHA 26ccc43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 315946d - Browse repository at this point
Copy the full SHA 315946dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c38308 - Browse repository at this point
Copy the full SHA 3c38308View commit details
Commits on Jun 7, 2017
-
path: don't return an error if there is no Segment
We are not using Segments and it's not an error for us so we just don't return an error here.
Configuration menu - View commit details
-
Copy full SHA for 74beaca - Browse repository at this point
Copy the full SHA 74beacaView commit details
Commits on Jun 8, 2017
-
Start using our own parsing functions
The potrace SVGs still don't work.
Configuration menu - View commit details
-
Copy full SHA for f90b181 - Browse repository at this point
Copy the full SHA f90b181View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca2479b - Browse repository at this point
Copy the full SHA ca2479bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 56e24a9 - Browse repository at this point
Copy the full SHA 56e24a9View commit details -
path: the target point becomes the new start point
In a bezier curve instruction, the target point becomes the new current point. This is true when several bezier curve instructions are chained as well and that's why we have to update the current relative coordinate.
Configuration menu - View commit details
-
Copy full SHA for f660519 - Browse repository at this point
Copy the full SHA f660519View commit details -
Configuration menu - View commit details
-
Copy full SHA for 186ef8b - Browse repository at this point
Copy the full SHA 186ef8bView commit details -
Change the DrawingInstructionParser interface
We remove the segments channel which is now not needed anymore.
Configuration menu - View commit details
-
Copy full SHA for 1ef8c26 - Browse repository at this point
Copy the full SHA 1ef8c26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 989e72e - Browse repository at this point
Copy the full SHA 989e72eView commit details -
path: make multiple moveto commands into lineto commands
According to https://www.w3.org/TR/SVG2/paths.html#PathDataMovetoCommands multiple moveto commands have to be interpreted as lineto commands.
Configuration menu - View commit details
-
Copy full SHA for 5629076 - Browse repository at this point
Copy the full SHA 5629076View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bd3f0c - Browse repository at this point
Copy the full SHA 3bd3f0cView commit details
Commits on Jun 9, 2017
-
svg: add test to parse path with absolute lines
Alexander Döring committedJun 9, 2017 Configuration menu - View commit details
-
Copy full SHA for a854008 - Browse repository at this point
Copy the full SHA a854008View commit details -
Alexander Döring committed
Jun 9, 2017 Configuration menu - View commit details
-
Copy full SHA for 8295966 - Browse repository at this point
Copy the full SHA 8295966View commit details -
svg: fix error in parseCommandDrawingInstructions
Alexander Döring committedJun 9, 2017 Configuration menu - View commit details
-
Copy full SHA for bb54c24 - Browse repository at this point
Copy the full SHA bb54c24View commit details -
svg: refactor parseCommand, parseCommandDrawingInstructions
Alexander Döring committedJun 9, 2017 Configuration menu - View commit details
-
Copy full SHA for e7bdd4f - Browse repository at this point
Copy the full SHA e7bdd4fView commit details -
Alexander Döring committed
Jun 9, 2017 Configuration menu - View commit details
-
Copy full SHA for a23fe10 - Browse repository at this point
Copy the full SHA a23fe10View commit details
Commits on Jun 13, 2017
-
svg: change the DrawingInstructionParser interface
The interface now returns an error channel to which we write the first error that occurs.
Configuration menu - View commit details
-
Copy full SHA for 7217ec3 - Browse repository at this point
Copy the full SHA 7217ec3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1d5b31 - Browse repository at this point
Copy the full SHA f1d5b31View commit details -
Alexander Döring committed
Jun 13, 2017 Configuration menu - View commit details
-
Copy full SHA for 18098fc - Browse repository at this point
Copy the full SHA 18098fcView commit details
Commits on Jun 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a9bfdc9 - Browse repository at this point
Copy the full SHA a9bfdc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f523a2 - Browse repository at this point
Copy the full SHA 8f523a2View commit details -
path: change the Stroke field into a pointer
We do this for consistency.
Configuration menu - View commit details
-
Copy full SHA for db6563d - Browse repository at this point
Copy the full SHA db6563dView commit details -
drawinginstruction: introduce the CurvePoints struct
Using this struct we can save 40 bytes for each non-Bezier curve instruction. Bezier curve instructions get 8 bytes bigger however.
Configuration menu - View commit details
-
Copy full SHA for 02a00fe - Browse repository at this point
Copy the full SHA 02a00feView commit details
Commits on Jun 22, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a664773 - Browse repository at this point
Copy the full SHA a664773View commit details -
Configuration menu - View commit details
-
Copy full SHA for d719ede - Browse repository at this point
Copy the full SHA d719edeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2129cf - Browse repository at this point
Copy the full SHA e2129cfView commit details
Commits on Nov 11, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 8690910 - Browse repository at this point
Copy the full SHA 8690910View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18dd49f - Browse repository at this point
Copy the full SHA 18dd49fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 517796d - Browse repository at this point
Copy the full SHA 517796dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bc75e4 - Browse repository at this point
Copy the full SHA 1bc75e4View commit details
Commits on Jan 5, 2018
-
fmt; check error from svg.ParseDrawingInstructions
pdbogen committedJan 5, 2018 Configuration menu - View commit details
-
Copy full SHA for a9d845a - Browse repository at this point
Copy the full SHA a9d845aView commit details -
pdbogen committed
Jan 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 65d585f - Browse repository at this point
Copy the full SHA 65d585fView commit details -
pdbogen committed
Jan 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 902a069 - Browse repository at this point
Copy the full SHA 902a069View commit details -
pdbogen committed
Jan 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 7c977e8 - Browse repository at this point
Copy the full SHA 7c977e8View commit details
Commits on Jan 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 59b09cb - Browse repository at this point
Copy the full SHA 59b09cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48c3d6c - Browse repository at this point
Copy the full SHA 48c3d6cView commit details
Commits on Dec 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 91a71ba - Browse repository at this point
Copy the full SHA 91a71baView commit details
Commits on Jan 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 0047d6d - Browse repository at this point
Copy the full SHA 0047d6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d22ae5b - Browse repository at this point
Copy the full SHA d22ae5bView commit details