aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidgui.h
diff options
context:
space:
mode:
authorPo Lu2023-05-29 15:44:14 +0800
committerPo Lu2023-05-29 15:44:14 +0800
commit00671b18438fec8f2e7f774cb3fd4cd6f694fd18 (patch)
treeca4dd77499a73711cced57ddf58c9131bac19706 /src/androidgui.h
parent327d2d013130ec745880b44573dcda3a6620faba (diff)
downloademacs-00671b18438fec8f2e7f774cb3fd4cd6f694fd18.tar.gz
emacs-00671b18438fec8f2e7f774cb3fd4cd6f694fd18.zip
Implement android_copy_area in C
* java/org/gnu/emacs/EmacsCopyArea.java: Remove file. * java/org/gnu/emacs/EmacsService.java (EmacsService, copyArea): Delete function. * src/android.c (struct android_emacs_service) (android_init_emacs_service): Remove `copy_area'. (android_create_gc, android_change_gc, android_get_gc_values): Record new GC values. (android_neon_mask_line): New function. (android_blit_copy, android_blit_xor): New functions. (android_copy_area): Implement in C. (android_lock_bitmap): Accept drawables instead of windows. * src/android.h: Adjust prototype for `android_lock_bitmap'. * src/androidgui.h (struct android_gc): Record last known GC values.
Diffstat (limited to 'src/androidgui.h')
-rw-r--r--src/androidgui.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/androidgui.h b/src/androidgui.h
index 6db25098398..02cc73809b9 100644
--- a/src/androidgui.h
+++ b/src/androidgui.h
@@ -137,6 +137,21 @@ struct android_gc
137 137
138 /* Current background color. */ 138 /* Current background color. */
139 unsigned long background; 139 unsigned long background;
140
141 /* The function. */
142 enum android_gc_function function;
143
144 /* The fill style. */
145 enum android_fill_style fill_style;
146
147 /* The clip X and Y origin. */
148 int clip_x_origin, clip_y_origin;
149
150 /* The clip mask image and stipple. */
151 android_pixmap clip_mask, stipple;
152
153 /* The tile-stipple X and Y origins. */
154 int ts_x_origin, ts_y_origin;
140}; 155};
141 156
142enum android_swap_action 157enum android_swap_action