CloseFigure draws a line segment from the current point of the current figure of the DrawPath back to its initial point. After calling this, the current figure is over and you must either start a new figure or end the DrawPath. If this is not called and you start a new figure or end the DrawPath, th
()
| 131 | // have this closing line segment added to it (but the figure will still |
| 132 | // be over). |
| 133 | func (p *DrawPath) CloseFigure() { |
| 134 | C.uiDrawPathCloseFigure(p.p) |
| 135 | } |
| 136 | |
| 137 | // AddRectangle creates a new figure in the DrawPath that consists |
| 138 | // entirely of a rectangle whose top-left corner is at the given point |