diff options
| author | YAMAMOTO Mitsuharu | 2006-02-22 07:59:26 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2006-02-22 07:59:26 +0000 |
| commit | c6c45177785676155e57a45b3d478cdd003bb9c5 (patch) | |
| tree | 480c02d14622052511c5b2ef9be94231b47b69ba /src | |
| parent | 3bfb811235927a782561a0785ef681750801d4f5 (diff) | |
| download | emacs-c6c45177785676155e57a45b3d478cdd003bb9c5.tar.gz emacs-c6c45177785676155e57a45b3d478cdd003bb9c5.zip | |
(struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member n_clip_rects.
Diffstat (limited to 'src')
| -rw-r--r-- | src/macgui.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/macgui.h b/src/macgui.h index cfe35e82945..a84fea1ae91 100644 --- a/src/macgui.h +++ b/src/macgui.h | |||
| @@ -217,13 +217,13 @@ typedef struct _XGC | |||
| 217 | RGBColor back_color; | 217 | RGBColor back_color; |
| 218 | 218 | ||
| 219 | #define MAX_CLIP_RECTS 2 | 219 | #define MAX_CLIP_RECTS 2 |
| 220 | /* QuickDraw clipping region. */ | 220 | /* Number of clipping rectangles. */ |
| 221 | int n_clip_rects; | ||
| 222 | |||
| 223 | /* QuickDraw clipping region. Ignored if n_clip_rects == 0. */ | ||
| 221 | RgnHandle clip_region; | 224 | RgnHandle clip_region; |
| 222 | 225 | ||
| 223 | #if defined (MAC_OSX) && USE_ATSUI | 226 | #if defined (MAC_OSX) && USE_ATSUI |
| 224 | /* Number of clipping rectangles used in Quartz 2D drawing. */ | ||
| 225 | int n_clip_rects; | ||
| 226 | |||
| 227 | /* Clipping rectangles used in Quartz 2D drawing. The y-coordinate | 227 | /* Clipping rectangles used in Quartz 2D drawing. The y-coordinate |
| 228 | is in QuickDraw's. */ | 228 | is in QuickDraw's. */ |
| 229 | CGRect clip_rects[MAX_CLIP_RECTS]; | 229 | CGRect clip_rects[MAX_CLIP_RECTS]; |