Function: image-mouse-increase-size

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

Signature

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

Documentation

Increase the image size using the mouse-gesture EVENT.

This increases the size of the image at the position specified by EVENT, if any, by the default factor used by image-increase-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-increase-size (&optional event)
  "Increase the image size using the mouse-gesture EVENT.
This increases the size of the image at the position specified by
EVENT, if any, by the default factor used by `image-increase-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-increase-size nil (point-marker)))))