mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 21:20:45 -08:00
(MAX_CLIP_RECTS): New define.
(struct _XGC): New member clip_region. (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and clip_rects.
This commit is contained in:
parent
c16e1cc347
commit
2be96ef8f9
1 changed files with 13 additions and 0 deletions
13
src/macgui.h
13
src/macgui.h
|
|
@ -192,6 +192,19 @@ typedef struct _XGC
|
|||
|
||||
/* QuickDraw background color. */
|
||||
RGBColor back_color;
|
||||
|
||||
#define MAX_CLIP_RECTS 2
|
||||
/* QuickDraw clipping region. */
|
||||
RgnHandle clip_region;
|
||||
|
||||
#if defined (MAC_OSX) && USE_ATSUI
|
||||
/* Number of clipping rectangles used in Quartz 2D drawing. */
|
||||
int n_clip_rects;
|
||||
|
||||
/* Clipping rectangles used in Quartz 2D drawing. The y-coordinate
|
||||
is in QuickDraw's. */
|
||||
CGRect clip_rects[MAX_CLIP_RECTS];
|
||||
#endif
|
||||
} *GC;
|
||||
|
||||
#define GCForeground (1L<<2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue