]> git.eshelyaron.com Git - emacs.git/commit
Remove aliasing on SVG images under scaled NS frames
authorAlan Third <alan@idiocy.org>
Wed, 10 Feb 2021 22:12:16 +0000 (22:12 +0000)
committerAlan Third <alan@idiocy.org>
Sat, 13 Feb 2021 22:40:47 +0000 (22:40 +0000)
commit0474a0d7d4478e967c7bbee93ab3606f0b215e66
tree204fcd9b77e05de3d3ac04ecfa693b453ef0101a
parent2007afd21b5f6c72a7a9c15fd7c4785331f2700f
Remove aliasing on SVG images under scaled NS frames

* src/image.c (FRAME_SCALE_FACTOR): New #define for getting frame
scale factor.
(image_set_transform):
(svg_load_image): Use FRAME_SCALE_FACTOR.
* src/nsterm.m (ns_frame_scale_factor): Get the scale factor for an NS
frame.
src/image.c
src/nsterm.h
src/nsterm.m