MCPcopy
hub / github.com/gonum/plot / GlyphDrawer

Interface GlyphDrawer

vg/draw/canvas.go:125–129  ·  view source on GitHub ↗

A GlyphDrawer wraps the DrawGlyph function.

Source from the content-addressed store, hash-verified

123
124// A GlyphDrawer wraps the DrawGlyph function.
125type GlyphDrawer interface {
126 // DrawGlyph draws the glyph at the given
127 // point, with the given color and radius.
128 DrawGlyph(*Canvas, GlyphStyle, vg.Point)
129}
130
131// DrawGlyph draws the given glyph to the draw
132// area. If the point is not within the Canvas

Callers 5

PlotMethod · 0.65
ThumbnailMethod · 0.65
PlotMethod · 0.65
DrawGlyphMethod · 0.65
DrawGlyphNoClipMethod · 0.65

Implementers 9

Canvasvg/draw/canvas.go
CircleGlyphvg/draw/canvas.go
RingGlyphvg/draw/canvas.go
SquareGlyphvg/draw/canvas.go
BoxGlyphvg/draw/canvas.go
TriangleGlyphvg/draw/canvas.go
PyramidGlyphvg/draw/canvas.go
PlusGlyphvg/draw/canvas.go
CrossGlyphvg/draw/canvas.go

Calls

no outgoing calls

Tested by

no test coverage detected