Function: artist-undraw-sline
artist-undraw-sline is a byte-compiled function defined in
artist.el.gz.
Signature
(artist-undraw-sline LINE)
Documentation
Undraw a straight line LINE.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-undraw-sline (line)
"Undraw a straight line LINE."
(if line
(let* ((shape-info (artist-2point-get-shapeinfo line))
(x (aref shape-info 0))
(y (aref shape-info 1))
(length (+ (aref shape-info 2) 4))
(direction (aref shape-info 3))
(i 4))
(while (< i length)
(artist-move-to-xy x y)
(artist-replace-char (aref shape-info i))
(setq x (+ x (artist-direction-step-x direction)))
(setq y (+ y (artist-direction-step-y direction)))
(setq i (1+ i))))))