aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorAlan Third2021-03-24 22:50:03 +0000
committerAlan Third2021-04-03 23:06:44 +0100
commit4e1f92feb3a861f93b7a285715d03be930b41b91 (patch)
tree8511c057fba4eefecd7f32e0b346ae3d08a550d1 /src/image.c
parentb0d095b2cdff7b43ab3866a2d541d18e359a4125 (diff)
downloademacs-4e1f92feb3a861f93b7a285715d03be930b41b91.tar.gz
emacs-4e1f92feb3a861f93b7a285715d03be930b41b91.zip
Implement frame-scale-factor
* src/frame.c (Fframe_scale_factor): New function. (syms_of_frame): Add frame-scale-factor. * src/frame.h: Add FRAME_SCALE_FACTOR. * src/image.c: Move FRAME_SCALE_FACTOR to frame.h.
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/image.c b/src/image.c
index b85418c690d..774b7e14ea9 100644
--- a/src/image.c
+++ b/src/image.c
@@ -135,14 +135,6 @@ typedef struct ns_bitmap_record Bitmap_Record;
135# define COLOR_TABLE_SUPPORT 1 135# define COLOR_TABLE_SUPPORT 1
136#endif 136#endif
137 137
138#ifdef HAVE_RSVG
139#if defined HAVE_NS
140# define FRAME_SCALE_FACTOR(f) ns_frame_scale_factor (f)
141#else
142# define FRAME_SCALE_FACTOR(f) 1;
143#endif
144#endif
145
146static void image_disable_image (struct frame *, struct image *); 138static void image_disable_image (struct frame *, struct image *);
147static void image_edge_detection (struct frame *, struct image *, Lisp_Object, 139static void image_edge_detection (struct frame *, struct image *, Lisp_Object,
148 Lisp_Object); 140 Lisp_Object);