diff options
Diffstat (limited to 'js/draw.js')
| -rw-r--r-- | js/draw.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -16,6 +16,11 @@ var draw = (function(){ last_point[1] = point[1] } + function set_last_point (e, point) { + last_point[0] = point[0] + last_point[1] = point[1] + } + function move (e, lex, point) { line(lex, last_point, point, erasing) last_point[0] = point[0] @@ -97,6 +102,7 @@ var draw = (function(){ var draw = {} draw.down = down + draw.set_last_point = set_last_point draw.move = move draw.stamp = stamp draw.line = line |
