Function: artist-cut-rect

artist-cut-rect is a byte-compiled function defined in artist.el.gz.

Signature

(artist-cut-rect RECT X1 Y1 X2 Y2)

Documentation

Copy rectangle RECT drawn from X1, Y1 to X2, Y2, then clear it.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
;;
;; Cutting, copying and pasting rectangles and squares
;; (filling functions)
;;

(defun artist-cut-rect (rect x1 y1 x2 y2)
  "Copy rectangle RECT drawn from X1, Y1 to X2, Y2, then clear it."
  (artist-undraw-rect rect)
  (artist-copy-generic x1 y1 x2 y2)
  (artist-erase-rect rect x1 y1 x2 y2))