Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fogleman/primitive
/ SVG
Method
SVG
primitive/shape.go:10–10 ·
view source on GitHub ↗
(attrs string)
Source
from the content-addressed store, hash-verified
8
Mutate()
9
Draw(dc *gg.Context, scale float64)
10
SVG(attrs string) string
11
}
12
13
type
ShapeType int
Callers
1
SVG
Method · 0.65
Implementers
7
Quadratic
primitive/quadratic.go
Polygon
primitive/polygon.go
Triangle
primitive/triangle.go
Ellipse
primitive/ellipse.go
RotatedEllipse
primitive/ellipse.go
Rectangle
primitive/rectangle.go
RotatedRectangle
primitive/rectangle.go
Calls
no outgoing calls
Tested by
no test coverage detected