Function: artist-new-coord

artist-new-coord is a byte-compiled function defined in artist.el.gz.

Signature

(artist-new-coord X Y &optional NEW-CHAR)

Documentation

Create a new coordinate at X,Y for use in a line.

Optional argument NEW-CHAR can be used for setting the new-char component in the coord.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
;; Some inline functions for creating, setting and reading
;; members of a coordinate
;;

(defsubst artist-new-coord (x y &optional new-char)
  "Create a new coordinate at X,Y for use in a line.
Optional argument NEW-CHAR can be used for setting the new-char component
in the coord."
  (let ((coord (make-vector 4 x)))
    (aset coord 1 y)
    (aset coord 3 new-char)
    coord))