Commit 67b1053d authored by Eli Zaretskii's avatar Eli Zaretskii

Support native image resizing on MS-Windows

* src/w32term.c (x_draw_image_foreground): Scale the image if
the requested dimensions are different from the bitmap
dimensions.
* src/image.c (Fimage_scaling_p): Return t when HAVE_NTGUI.
(x_set_image_size) [HAVE_NTGUI]: Record the scaled dimensions
in the image struct.
* src/dispextern.h (HAVE_NATIVE_SCALING): Define when
HAVE_NTGUI as well.

* etc/NEWS: Update the announcement of native image scaling.
parent 55105159
Pipeline #578 passed with stage
in 47 minutes and 55 seconds