aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2007-09-13 10:46:21 +0000
committerKenichi Handa2007-09-13 10:46:21 +0000
commit7cd30fff0b05530104be8081bddc8cb115557ec0 (patch)
treec52ce9117f33d956c22eaade56faf82771c0cabd /src
parentb2f8fb81696d0523e6edb125e1fb4502c7f41a4c (diff)
downloademacs-7cd30fff0b05530104be8081bddc8cb115557ec0.tar.gz
emacs-7cd30fff0b05530104be8081bddc8cb115557ec0.zip
(struct glyph_row): New member clip.
(struct glyph_string): Delete members clip_x, clip_y, clip_width, clip_height, new member clip, and num_clips.
Diffstat (limited to 'src')
-rw-r--r--src/dispextern.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/dispextern.h b/src/dispextern.h
index c07b4b36f92..7aab192448d 100644
--- a/src/dispextern.h
+++ b/src/dispextern.h
@@ -852,6 +852,10 @@ struct glyph_row
852 852
853 /* Continuation lines width at the start of the row. */ 853 /* Continuation lines width at the start of the row. */
854 int continuation_lines_width; 854 int continuation_lines_width;
855
856 /* Non-NULL means the current clipping area. This is temporarily
857 set while exposing a region. Coordinates are frame-relative. */
858 XRectangle *clip;
855}; 859};
856 860
857 861
@@ -1220,10 +1224,11 @@ struct glyph_string
1220 *clip_tail, not including their overhangs. */ 1224 *clip_tail, not including their overhangs. */
1221 struct glyph_string *clip_head, *clip_tail; 1225 struct glyph_string *clip_head, *clip_tail;
1222 1226
1223#ifdef USE_FONT_BACKEND 1227 /* The current clipping areas. */
1224 /* The current clipping area. */ 1228 NativeRectangle clip[2];
1225 int clip_x, clip_y, clip_width, clip_height; 1229
1226#endif /* USE_FONT_BACKEND */ 1230 /* Number of clipping areas. */
1231 int num_clips;
1227 1232
1228 struct glyph_string *next, *prev; 1233 struct glyph_string *next, *prev;
1229}; 1234};