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
Missing <pattern> support #12
Comments
I've added support; (not committed yet) the API is similar to marker:
There is no need to expose printf, you have the io.Writer, so you can use it directly:
or just use the same io.Writer used in the New() function. |
Sweet! Thanks! Let us know when you commit it, looking forward to using it. On Thu, May 1, 2014 at 4:07 PM, Anthony Starks notifications@github.comwrote:
|
commited. |
See the "pattern.go" in the repo for an example on how to use it |
Thanks so much Anthony, it worked perfectly! On Thu, May 1, 2014 at 5:16 PM, Anthony Starks notifications@github.comwrote:
|
I'd be happy to write a small patch for it if you want.
Examples:
http://www.carto.net/svg/samples/patterns.shtml
Also missing a generic way to append content for things not yet supported by svgo. For instance exposing the printf() method, or something like func Tag(tagName string, s ... string) and TagEnd(tagName string)
cheers
The text was updated successfully, but these errors were encountered: