Function: artist-text-overwrite
artist-text-overwrite is a byte-compiled function defined in
artist.el.gz.
Signature
(artist-text-overwrite X Y)
Documentation
Prompt for text to render, render it at X,Y.
This is done by calling the function specified by
artist-text-renderer-function, which must return a list of strings,
to be inserted in the buffer.
Blanks in the rendered text overwrite any text in the buffer.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-text-overwrite (x y)
"Prompt for text to render, render it at X,Y.
This is done by calling the function specified by
`artist-text-renderer-function', which must return a list of strings,
to be inserted in the buffer.
Blanks in the rendered text overwrite any text in the buffer."
(let* ((input-text (read-string "Type text to render: "))
(rendered-text (artist-funcall artist-text-renderer-function input-text)))
(artist-text-insert-overwrite x y rendered-text)))