Registry / utility / fogleman-gg

fogleman-gg

JSON →
library1.3.0gogounverified

Package gg provides a simple API for rendering 2D graphics in pure Go.

go get github.com/fogleman/gg
INSTALL
IMPORT
SIG · FOGLEMAN-GG
F
fogleman-gg
utilitygov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gg
github.com/fogleman/gg

Draw a circle and save it as a PNG image.

import "github.com/fogleman/gg" func main() { dc := gg.NewContext(100, 100) dc.DrawCircle(50, 50, 40) dc.SavePNG("circle.png") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Resources
fogleman-gg — go get fogleman-gg · libregistry