Current File : //proc/self/root/kunden/proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/image-mode.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301!\210\300\302!\207" [require image exif] 2)
#@111 Alist of windows to window properties.
Each element has the form (WINDOW . ALIST).
See `image-mode-winprops'.
(defvar image-mode-winprops-alist t (#$ . 473))
(make-variable-buffer-local 'image-mode-winprops-alist)
#@118 Special hook run when image data is requested in a new window.
It is called with one argument, the initial WINPROPS.
(defvar image-mode-new-window-functions nil (#$ . 694))
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\300\314\302\303\315DD\316\306\317\310\311\312\313& \207" [custom-declare-variable image-auto-resize funcall function #[0 "\300\207" [t] 1] "Non-nil to resize the image upon first display.\nIts value should be one of the following:\n - nil, meaning no resizing.\n - t, meaning to fit the image to the window height and width.\n - `fit-height', meaning to fit the image to the window height.\n - `fit-width', meaning to fit the image to the window width.\n - A number, which is a scale factor (the default size is 1)." :type (choice (const :tag "No resizing" nil) (other :tag "Fit height and width" t) (const :tag "Fit height" fit-height) (const :tag "Fit width" fit-width) (number :tag "Scale factor" 1)) :version "27.1" :group image image-auto-resize-on-window-resize #[0 "\300\207" [1] 1] "Non-nil to resize the image whenever the window's dimensions change.\nThis will always keep the image fit to the window.\nWhen non-nil, the value should be a number of seconds to wait before\nresizing according to the value specified in `image-auto-resize'." (choice (const :tag "No auto-resize on window size change" nil) (integer :tag "Wait for number of seconds before resize" 1))] 10)
#@351 The image resize operation.
Its value should be one of the following:
- nil, meaning no resizing.
- t, meaning to fit the image to the window height and width.
- `fit-height', meaning to fit the image to the window height.
- `fit-width', meaning to fit the image to the window width.
- A number, which is a scale factor (the default size is 1).
(defvar image-transform-resize nil (#$ . 2123))
(make-variable-buffer-local 'image-transform-resize)
#@48 The scale factor of the image being displayed.
(defvar image-transform-scale 1.0 (#$ . 2580))
(make-variable-buffer-local 'image-transform-scale)
#@64 Rotation angle for the image in the current Image mode buffer.
(defvar image-transform-rotation 0.0 (#$ . 2732))
(make-variable-buffer-local 'image-transform-rotation)
#@164 Snap distance to a multiple of a right angle.
There's no deep theory behind the default value, it should just
be somewhat larger than ImageMagick's MagickEpsilon.
(defvar image-transform-right-angle-fudge 0.0001 (#$ . 2907))
#@262 Return winprops of WINDOW.
A winprops object has the shape (WINDOW . ALIST).
WINDOW defaults to `selected-window' if it displays the current buffer, and
otherwise it defaults to t, used for times when the buffer is not displayed.
(fn &optional WINDOW CLEANUP)
(defalias 'image-mode-winprops #[512 "\204 p\301 =\203 \302 \202 \303\262\202'