changeset 69097:3be1a9b7b2e7

(struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member n_clip_rects.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Wed, 22 Feb 2006 07:59:26 +0000
parents 91d54ab4382e
children 53d05914b117
files src/macgui.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/macgui.h	Wed Feb 22 07:23:52 2006 +0000
+++ b/src/macgui.h	Wed Feb 22 07:59:26 2006 +0000
@@ -217,13 +217,13 @@
   RGBColor back_color;
 
 #define MAX_CLIP_RECTS 2
-  /* QuickDraw clipping region.  */
+  /* Number of clipping rectangles.  */
+  int n_clip_rects;
+
+  /* QuickDraw clipping region.  Ignored if n_clip_rects == 0.  */
   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];