Line draws a line from the current point to the given point.
(pt Point)
| 115 | // Line draws a line from the current point to the |
| 116 | // given point. |
| 117 | func (p *Path) Line(pt Point) { |
| 118 | *p = append(*p, PathComp{Type: LineComp, Pos: pt}) |
| 119 | } |
| 120 | |
| 121 | // Arc adds an arc to the path defined by the center |
| 122 | // point of the arc's circle, the radius of the circle |
no outgoing calls