Fix wording of a recently added documentation

* etc/NEWS:
* doc/lispref/display.texi (Image Descriptors): Fix wording of the
description of :transform-smoothing.
This commit is contained in:
Eli Zaretskii 2021-03-11 08:37:29 +02:00
parent 8497af6892
commit 0445720b75
2 changed files with 7 additions and 8 deletions

View file

@ -5393,15 +5393,14 @@ values rotate clockwise, negative values counter-clockwise. Rotation
is performed after scaling and cropping.
@item :transform-smoothing @var{smooth}
When @code{t} any image transform will have smoothing applied, and if
@code{nil} no smoothing will be applied. The exact algorithm used
will be platform dependent, but should be equivalent to bilinear
filtering. Disabling smoothing will use a nearest neighbor
If this is @code{t}, any image transform will have smoothing applied;
if @code{nil}, no smoothing will be applied. The exact algorithm used
is platform dependent, but should be equivalent to bilinear
filtering. Disabling smoothing will use the nearest neighbor
algorithm.
The default, if this property is not specified, will be for
down-scaling to apply smoothing, and up-scaling to not apply
smoothing.
The default, if this property is not specified, is for down-scaling to
apply smoothing, and for up-scaling to not apply smoothing.
@item :index @var{frame}
@xref{Multi-Frame Images}.

View file

@ -1477,7 +1477,7 @@ background colors or transparency, such as xbm, pbm, svg, png and gif.
*** Image smoothing can now be explicitly enabled or disabled.
Smoothing applies a bilinear filter while scaling or rotating an image
to prevent aliasing and other unwanted effects. The new image
property ':transform-smoothing' can be set to t to enable smoothing
property ':transform-smoothing' can be set to t to force smoothing
and nil to disable smoothing.
The default behaviour of smoothing on down-scaling and not smoothing