Function: image-mouse-decrease-size

image-mouse-decrease-size is an interactive and byte-compiled function defined in image.el.gz.

Signature

(image-mouse-decrease-size &optional EVENT)

Documentation

Decrease the image size using the mouse-gesture EVENT.

This decreases the size of the image at the position specified by EVENT, if any, by the default factor used by image-decrease-size.

When user option image-recompute-map-p is non-nil, the image's :map is recomputed to fit the newly transformed image.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/image.el.gz
(defun image-mouse-decrease-size (&optional event)
  "Decrease the image size using the mouse-gesture EVENT.
This decreases the size of the image at the position specified by
EVENT, if any, by the default factor used by `image-decrease-size'.

When user option `image-recompute-map-p' is non-nil, the image's `:map'
is recomputed to fit the newly transformed image."
  (interactive "e")
  (when (listp event)
    (save-window-excursion
      (posn-set-point (event-start event))
      (image-decrease-size nil (point-marker)))))