]> git.eshelyaron.com Git - emacs.git/commit
Support :transform-smoothing on images (MS-Windows) (bug#57166)
authorCecilio Pardo <cpardo@imayhem.com>
Mon, 4 Nov 2024 17:58:40 +0000 (18:58 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 8 Nov 2024 13:31:38 +0000 (14:31 +0100)
commitce6112b2185dcf2989cf22e69b61837a0bd39d32
tree53377c1ec7394c7bdac2747420b92e43c9456cd7
parentdd8f4c311944c7fc32774b8f6e0c7d819406a792
Support :transform-smoothing on images (MS-Windows) (bug#57166)

* src/dispextern.h (struct image): Add field 'smoothing' for
NTGUI.
* src/image.c (image_set_transform): Assign the 'smoothing'
field of the image struct.
* src/w32gdiplus.h: Add references to more GDI+ functions.
* src/w32image.c (gdiplus_init): Add references to more GDI+
functions.
* src/w32term.c (w32_draw_image_foreground): If the image is
marked for smoothing and GDI+ is available, draw it with GDI+
bilinear interpolation.
* etc/NEWS: New entry for this change.

(cherry picked from commit 4e8bf2977e6d1abf6d3cf82e9c1ae3dee5bfcda0)
etc/NEWS
src/dispextern.h
src/image.c
src/w32gdiplus.h
src/w32image.c
src/w32term.c