MCPcopy Create free account
hub / github.com/cogentcore/core / drawConfig

Method drawConfig

plot/draw.go:55–59  ·  view source on GitHub ↗

drawConfig configures everything for drawing

()

Source from the content-addressed store, hash-verified

53
54// drawConfig configures everything for drawing
55func (pt *Plot) drawConfig() {
56 pt.Resize(pt.Size) // ensure
57 pt.Legend.TextStyle.openFont(pt)
58 pt.Paint.ToDots()
59}
60
61// Draw draws the plot to image.
62// Plotters are drawn in the order in which they were

Callers 2

svgDrawMethod · 0.95
DrawMethod · 0.95

Calls 3

ResizeMethod · 0.95
openFontMethod · 0.80
ToDotsMethod · 0.45

Tested by

no test coverage detected