• YAMAMOTO Mitsuharu's avatar
    Support native image resizing on cairo · 2755cf18
    YAMAMOTO Mitsuharu authored
    * src/xterm.c (x_cr_draw_image): Add arguments image_width and
    image_height and support scaling.  All callers changed.
    * src/image.c (Fimage_scaling_p): Return t when USE_CAIRO.
    (x_set_image_size) [USE_CAIRO]: Record the scaled dimensions
    in the image struct.
    * src/dispextern.h (HAVE_NATIVE_SCALING): Define when
    USE_CAIRO as well.
    
    * etc/NEWS: Update the announcement of native image scaling.
    2755cf18