diff options
| author | YAMAMOTO Mitsuharu | 2019-03-27 11:04:46 +0900 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2019-03-27 11:12:18 +0900 |
| commit | 2755cf1848b551436b9cc2eff6e4b882b10c07aa (patch) | |
| tree | 0c496f95796f8417f69b5221412162763d1ef4bb /src/coding.c | |
| parent | d7e442651777805958bd6bcbc8312a6cce147e4a (diff) | |
| download | emacs-2755cf1848b551436b9cc2eff6e4b882b10c07aa.tar.gz emacs-2755cf1848b551436b9cc2eff6e4b882b10c07aa.zip | |
Support native image resizing on cairo
* 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.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions