https://github.com/ajstarks/svgo

go golang golang-library golang-package graphic-design graphic-programming graphics markup sketch svg svg-images svg-path visualization xml

Last synced: about 1 month ago

Repository metadata:

Go Language Library for SVG generation


Owner metadata:


Committers metadata

Last synced: about 1 month ago

Total Commits: 357
Total Committers: 3
Avg Commits per committer: 119.0
Development Distribution Score (DDS): 0.008

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Anthony Starks a****s@g****m 354
Ivan Krasin i****n@g****m 2
Anthony Starks a****s@A****l 1

Issue and Pull Request metadata

Last synced: about 1 month ago


Package metadata

go: github.com/ajstarks/svgo

Package svg generates SVG as defined by the Scalable Vector Graphics 1.1 Specification (<http://www.w3.org/TR/SVG11/>). Output goes to the specified io.Writer. Shapes, lines, text Paths Image and Gradients Transforms Filter Effects Metadata elements Usage: (assuming GOPATH is set) You can use godoc to browse the documentation from the command line: a minimal program, to generate SVG to standard output. Drawing in a web server: (http://localhost:2003/circle) Many functions use x, y to specify an object's location, and w, h to specify the object's width and height. Where applicable, a final optional argument specifies the style to be applied to the object. The style strings follow the SVG standard; name:value pairs delimited by semicolons, or a series of name="value" pairs. For example: `"fill:none; opacity:0.3"` or `fill="none" opacity="0.3"` (see: <http://www.w3.org/TR/SVG11/styling.html>) The SVG type: Most operations are methods on this type, specifying the destination io.Writer. The Offcolor type: is used to specify the offset, color, and opacity of stop colors in linear and radial gradients The Filterspec type: is used to specify inputs and results for filter effects Package svg provides an API for generating Scalable Vector Graphics (SVG)

  • Homepage: https://github.com/ajstarks/svgo
  • Documentation: https://pkg.go.dev/github.com/ajstarks/svgo#section-documentation
  • Licenses: CC-BY-4.0
  • Latest release: v0.0.0-20211024235047-1546f124cd8b (published about 3 years ago)
  • Last Synced: 2024-11-11T12:02:25.255Z (about 1 month ago)
  • Versions: 6
  • Dependent Packages: 866
  • Dependent Repositories: 17,274
  • Docker Downloads: 413,170
  • Rankings:
    • Dependent repos count: 0.053%
    • Dependent packages count: 0.158%
    • Docker downloads count: 0.771%
    • Average: 0.928%
    • Stargazers count: 1.498%
    • Forks count: 2.161%

Dependencies

go.mod go
  • github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19
  • honnef.co/go/tools v0.1.3
go.sum go
  • github.com/BurntSushi/toml v0.3.1
  • github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9
  • github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19
  • github.com/kisielk/gotool v1.0.0
  • github.com/yuin/goldmark v1.2.1
  • golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
  • golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550
  • golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
  • golang.org/x/mod v0.3.0
  • golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3
  • golang.org/x/net v0.0.0-20190620200207-3b0461eec859
  • golang.org/x/net v0.0.0-20201021035429-f5854403a974
  • golang.org/x/sync v0.0.0-20190423024810-112230192c58
  • golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
  • golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
  • golang.org/x/sys v0.0.0-20190412213103-97732733099d
  • golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f
  • golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4
  • golang.org/x/text v0.3.0
  • golang.org/x/text v0.3.3
  • golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e
  • golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e
  • golang.org/x/tools v0.1.0
  • golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7
  • golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898
  • golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
  • honnef.co/go/tools v0.1.3