diff options
| author | Lars Ingebrigtsen | 2016-02-20 17:54:05 +1100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-20 18:03:37 +1100 |
| commit | 0883e988ac950b2da2893e64822041ca0e6133a0 (patch) | |
| tree | c456f1fa43bdafced9a92b0c19c38c381b145815 /etc | |
| parent | 10c0e1ca40237224aa229c538fe49983ec905748 (diff) | |
| download | emacs-0883e988ac950b2da2893e64822041ca0e6133a0.tar.gz emacs-0883e988ac950b2da2893e64822041ca0e6133a0.zip | |
New functions for getting and setting image properties
* doc/lispref/display.texi (Defining Images): Document
image-get/set-property.
* lisp/image.el (image-set-property): New function.
(image-get-property): Ditto.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 9 |
1 files changed, 8 insertions, 1 deletions
| @@ -846,6 +846,7 @@ of `epg-gpg-program' (instead of gpg). | |||
| 846 | `image-scaling-factor' variable (if Emacs supports scaling the images | 846 | `image-scaling-factor' variable (if Emacs supports scaling the images |
| 847 | in question). | 847 | in question). |
| 848 | 848 | ||
| 849 | +++ | ||
| 849 | *** Images inserted with `insert-image' and related functions get a | 850 | *** Images inserted with `insert-image' and related functions get a |
| 850 | keymap put into the text properties (or overlays) that span the | 851 | keymap put into the text properties (or overlays) that span the |
| 851 | image. This keymap binds keystrokes for manipulating size and | 852 | image. This keymap binds keystrokes for manipulating size and |
| @@ -853,7 +854,13 @@ rotation, as well as saving the image to a file. | |||
| 853 | 854 | ||
| 854 | +++ | 855 | +++ |
| 855 | *** A new library for creating and manipulating SVG images has been | 856 | *** A new library for creating and manipulating SVG images has been |
| 856 | added. See the "SVG Images" section in the lispref manual for details. | 857 | added. See the "SVG Images" section in the lispref manual for |
| 858 | details. | ||
| 859 | |||
| 860 | +++ | ||
| 861 | *** New functions to access and set image parameters are provided: | ||
| 862 | `image-get-property' and `image-set-property'. | ||
| 863 | |||
| 857 | 864 | ||
| 858 | ** Lisp mode | 865 | ** Lisp mode |
| 859 | 866 | ||