(options)
| 1788 | } |
| 1789 | |
| 1790 | function endpath(options) { |
| 1791 | /* Draws and returns the current path. |
| 1792 | * With {draw:false}, only returns the path so it can be manipulated and drawn with drawpath(). |
| 1793 | */ |
| 1794 | var s = _ctx.state; |
| 1795 | if (s.autoclosepath) s.path.closepath(); |
| 1796 | if (!options || options.draw) { |
| 1797 | s.path.draw(options); |
| 1798 | } |
| 1799 | var p=s.path; s.path=null; |
| 1800 | return p; |
| 1801 | } |
| 1802 | |
| 1803 | function findpath(points, curvature) { |
| 1804 | /* Returns a smooth BezierPath from the given list of points. |
nothing calls this directly
no test coverage detected
searching dependent graphs…