((memq (car event) '(mouse-1 drag-mouse-1))
(setq state 'move-unclick
prompt (format "Click to move for %s" op)))))))))
- do (svg-line svg (cl-getf area :left) (cl-getf area :top)
- (cl-getf area :right) (cl-getf area :top)
- :id "top-line" :stroke-color "white")
- (svg-line svg (cl-getf area :left) (cl-getf area :bottom)
- (cl-getf area :right) (cl-getf area :bottom)
- :id "bottom-line" :stroke-color "white")
- (svg-line svg (cl-getf area :left) (cl-getf area :top)
- (cl-getf area :left) (cl-getf area :bottom)
- :id "left-line" :stroke-color "white")
- (svg-line svg (cl-getf area :right) (cl-getf area :top)
- (cl-getf area :right) (cl-getf area :bottom)
- :id "right-line" :stroke-color "white")
+ do (svg-rectangle svg (cl-getf area :left) (cl-getf area :top)
+ (image-crop--width area) (image-crop--height area)
+ :stroke-color "red" :stroke-width 2
+ :fill-opacity 0.3 :fill "black" :id "rect")
while (not (member event '(return ?q)))
finally (return (and (eq event 'return)
area)))))