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

Method LineTo

draw.go:96–98  ·  view source on GitHub ↗

LineTo adds a line to the current figure of the DrawPath starting from the current point and ending at the given point. The current point is set to the ending point.

(x float64, y float64)

Source from the content-addressed store, hash-verified

94// from the current point and ending at the given point. The current
95// point is set to the ending point.
96func (p *DrawPath) LineTo(x float64, y float64) {
97 C.uiDrawPathLineTo(p.p, C.double(x), C.double(y))
98}
99
100// ArcTo adds a circular arc to the current figure of the DrawPath.
101// You pass it the center of the arc, its radius in radians, the starting

Callers 2

constructGraphFunction · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected