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

Function From

font/font.go:64–68  ·  view source on GitHub ↗

From returns a copy of the provided font with its size set.

(fnt Font, size Length)

Source from the content-addressed store, hash-verified

62
63// From returns a copy of the provided font with its size set.
64func From(fnt Font, size Length) Font {
65 o := fnt
66 o.Size = size
67 return o
68}
69
70// Typeface identifies a particular typeface design.
71// The empty string denotes the default typeface.

Callers 7

newLegendFunction · 0.92
TestLegendAlignmentFunction · 0.92
makeAxisFunction · 0.92
NewFunction · 0.92
NewSankeyFunction · 0.92
NewLabelsFunction · 0.92
drawGlyphMethod · 0.92

Calls

no outgoing calls

Tested by 1

TestLegendAlignmentFunction · 0.74