MCPcopy Create free account
hub / github.com/andlabs/ui / NewFigure

Method NewFigure

draw.go:77–79  ·  view source on GitHub ↗

NewFigure starts a new figure in the DrawPath. The current point is set to the given point.

(x float64, y float64)

Source from the content-addressed store, hash-verified

75// NewFigure starts a new figure in the DrawPath. The current point
76// is set to the given point.
77func (p *DrawPath) NewFigure(x float64, y float64) {
78 C.uiDrawPathNewFigure(p.p, C.double(x), C.double(y))
79}
80
81// NewFigureWithArc starts a new figure in the DrawPath and adds
82// an arc as the first element of the figure. Unlike ArcTo,

Callers 2

constructGraphFunction · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected