MCPcopy
hub / github.com/fogleman/primitive / Rasterize

Method Rasterize

primitive/shape.go:6–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5type Shape interface {
6 Rasterize() []Scanline
7 Copy() Shape
8 Mutate()
9 Draw(dc *gg.Context, scale float64)

Callers 4

AddMethod · 0.65
fillPathFunction · 0.65
strokePathFunction · 0.65
EnergyMethod · 0.65

Implementers 7

Quadraticprimitive/quadratic.go
Polygonprimitive/polygon.go
Triangleprimitive/triangle.go
Ellipseprimitive/ellipse.go
RotatedEllipseprimitive/ellipse.go
Rectangleprimitive/rectangle.go
RotatedRectangleprimitive/rectangle.go

Calls

no outgoing calls

Tested by

no test coverage detected