aboutsummaryrefslogtreecommitdiffstats
path: root/src/macgui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macgui.h')
-rw-r--r--src/macgui.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/macgui.h b/src/macgui.h
index 378dbcd9e5c..6e2adb092c6 100644
--- a/src/macgui.h
+++ b/src/macgui.h
@@ -192,6 +192,19 @@ typedef struct _XGC
192 192
193 /* QuickDraw background color. */ 193 /* QuickDraw background color. */
194 RGBColor back_color; 194 RGBColor back_color;
195
196#define MAX_CLIP_RECTS 2
197 /* QuickDraw clipping region. */
198 RgnHandle clip_region;
199
200#if defined (MAC_OSX) && USE_ATSUI
201 /* Number of clipping rectangles used in Quartz 2D drawing. */
202 int n_clip_rects;
203
204 /* Clipping rectangles used in Quartz 2D drawing. The y-coordinate
205 is in QuickDraw's. */
206 CGRect clip_rects[MAX_CLIP_RECTS];
207#endif
195} *GC; 208} *GC;
196 209
197#define GCForeground (1L<<2) 210#define GCForeground (1L<<2)