annotate src/bitmaps/rtptr.xbm @ 59718:d4cb255b034d

* dispextern.h (struct glyph_string): New members clip_head and clip_tail. * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip region to the area between clip_head and clip_tail. (draw_glyphs): Record the area that need to be actually redrawn to the new variables clip_head and clip_tail when there are overhangs. Set values of these variables to the corresponding members in struct glyph_string. Refine x coordinates for * macgui.h (STORE_XCHARSETSTRUCT): New macro. * macterm.c (mac_compute_glyph_string_overhangs): Implement with QDTextBounds. (x_draw_glyph_string): Don't fill the background of the successor of a glyph with a right overhang if the successor will draw a cursor. (XLoadQueryFont): Obtain font metrics using QDTextBounds. (x_redisplay_interface): Add entry for compute_glyph_string_overhangs.
author Steven Tamm <steventamm@mac.com>
date Mon, 24 Jan 2005 17:59:36 +0000
parents 8f14d08e19f7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25830
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #define right_ptr_width 16
Dave Love <fx@gnu.org>
parents:
diff changeset
2 #define right_ptr_height 16
Dave Love <fx@gnu.org>
parents:
diff changeset
3 #define right_ptr_x_hot 12
Dave Love <fx@gnu.org>
parents:
diff changeset
4 #define right_ptr_y_hot 1
Dave Love <fx@gnu.org>
parents:
diff changeset
5 static unsigned char right_ptr_bits[] = {
Dave Love <fx@gnu.org>
parents:
diff changeset
6 0x00, 0x00, 0x00, 0x10, 0x00, 0x18, 0x00, 0x1c, 0x00, 0x1e, 0x00, 0x1f,
Dave Love <fx@gnu.org>
parents:
diff changeset
7 0x80, 0x1f, 0xc0, 0x1f, 0xe0, 0x1f, 0x00, 0x1f, 0x00, 0x1b, 0x80, 0x11,
Dave Love <fx@gnu.org>
parents:
diff changeset
8 0x80, 0x01, 0xc0, 0x00, 0xc0, 0x00, 0x00, 0x00};