MCPcopy Index your code
hub / github.com/gonum/plot / Draw

Method Draw

text/text.go:34–34  ·  view source on GitHub ↗

Draw renders the given text with the provided style and position on the canvas.

(c vg.Canvas, txt string, sty Style, pt vg.Point)

Source from the content-addressed store, hash-verified

32 // Draw renders the given text with the provided style and position
33 // on the canvas.
34 Draw(c vg.Canvas, txt string, sty Style, pt vg.Point)
35}
36
37// XAlignment specifies text alignment in the X direction. Three preset

Callers 15

TestIssue514Function · 0.65
TestDrawGlyphBoxesFunction · 0.65
DrawMethod · 0.65
ExampleAlignFunction · 0.65
newRGBAFromFunction · 0.65
TestEqualApproxFunction · 0.65
TestFieldDimsFunction · 0.65
ExampleScatter_colorFunction · 0.65
ExampleFieldFunction · 0.65
ExampleField_colorsFunction · 0.65
ExampleField_gophersFunction · 0.65

Implementers 2

Latextext/latex.go
Plaintext/plain.go

Calls

no outgoing calls

Tested by 15

TestIssue514Function · 0.52
TestDrawGlyphBoxesFunction · 0.52
ExampleAlignFunction · 0.52
TestEqualApproxFunction · 0.52
TestFieldDimsFunction · 0.52
ExampleScatter_colorFunction · 0.52
ExampleFieldFunction · 0.52
ExampleField_colorsFunction · 0.52
ExampleField_gophersFunction · 0.52
ExampleSankey_groupedFunction · 0.52
ExampleHeatMapFunction · 0.52