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

Method Extents

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

Extents returns the Extents of a font.

(fnt font.Font)

Source from the content-addressed store, hash-verified

19
20 // Extents returns the Extents of a font.
21 Extents(fnt font.Font) font.Extents
22
23 // Lines splits a given block of text into separate lines.
24 Lines(txt string) []string

Callers 9

TestFontExtendsFunction · 0.65
FontExtentsMethod · 0.65
RectangleMethod · 0.65
ExtentsMethod · 0.65
BoxMethod · 0.65
DrawMethod · 0.65
ExtentsMethod · 0.65
BoxMethod · 0.65
DrawMethod · 0.65

Implementers 2

Latextext/latex.go
Plaintext/plain.go

Calls

no outgoing calls

Tested by 1

TestFontExtendsFunction · 0.52