diff options
| author | Lars Ingebrigtsen | 2021-03-12 02:37:10 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-03-12 02:37:10 +0100 |
| commit | 5dff53f5da4f17d74a0ad2cd7ec0a736aa5111f7 (patch) | |
| tree | fcbed253917168c3efa191e5a15e98185125d89d /etc | |
| parent | fd3705adf9fe73dfd5becfe4afbd4673e71942b8 (diff) | |
| download | emacs-5dff53f5da4f17d74a0ad2cd7ec0a736aa5111f7.tar.gz emacs-5dff53f5da4f17d74a0ad2cd7ec0a736aa5111f7.zip | |
Add a new `image-transform-smoothing' user option
* doc/lispref/display.texi (Image Descriptors): Document it.
* lisp/image.el (image-transform-smoothing): New user option.
(create-image): Use it.
(image--default-smoothing): New function.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -1483,6 +1483,12 @@ and nil to disable smoothing. | |||
| 1483 | The default behaviour of smoothing on down-scaling and not smoothing | 1483 | The default behaviour of smoothing on down-scaling and not smoothing |
| 1484 | on up-scaling remains unchanged. | 1484 | on up-scaling remains unchanged. |
| 1485 | 1485 | ||
| 1486 | +++ | ||
| 1487 | *** New user option 'image-transform-smoothing'. | ||
| 1488 | This controls whether to use smoothing or not for an image. Values | ||
| 1489 | include nil (no smoothing), t (do smoothing) or a predicate function | ||
| 1490 | that's called with the image object and should return nil/t. | ||
| 1491 | |||
| 1486 | ** EWW | 1492 | ** EWW |
| 1487 | 1493 | ||
| 1488 | +++ | 1494 | +++ |