annotate src/objects.h @ 272:c5d627a313b1 r21-0b34

Import from CVS: tag r21-0b34
author cvs
date Mon, 13 Aug 2007 10:28:48 +0200
parents e121b013d1f0
children 74fd4e045ea6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 /* Generic object functions.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 Copyright (C) 1995 Board of Trustees, University of Illinois.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 Copyright (C) 1995, 1996 Ben Wing.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 This file is part of XEmacs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 XEmacs is free software; you can redistribute it and/or modify it
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 under the terms of the GNU General Public License as published by the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 Free Software Foundation; either version 2, or (at your option) any
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 later version.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 for more details.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 along with XEmacs; see the file COPYING. If not, write to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 Boston, MA 02111-1307, USA. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22 /* Synched up with: Not in FSF. */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 #ifndef _XEMACS_OBJECTS_H_
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 #define _XEMACS_OBJECTS_H_
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27 #include "specifier.h"
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29 void finalose (void *ptr);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31 /*****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 * Color Specifier Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33 *****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35 struct color_specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37 Lisp_Object face; /* face this is attached to, or nil */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 Lisp_Object face_property; /* property of that face */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 };
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41 #define COLOR_SPECIFIER_DATA(g) (SPECIFIER_TYPE_DATA (g, color))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 #define COLOR_SPECIFIER_FACE(g) (COLOR_SPECIFIER_DATA (g)->face)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 #define COLOR_SPECIFIER_FACE_PROPERTY(g) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 (COLOR_SPECIFIER_DATA (g)->face_property)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 DECLARE_SPECIFIER_TYPE (color);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 #define XCOLOR_SPECIFIER(x) XSPECIFIER_TYPE (x, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 #define XSETCOLOR_SPECIFIER(x, p) XSETSPECIFIER_TYPE (x, p, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #define COLOR_SPECIFIERP(x) SPECIFIER_TYPEP (x, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #define CHECK_COLOR_SPECIFIER(x) CHECK_SPECIFIER_TYPE (x, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 #define CONCHECK_COLOR_SPECIFIER(x) CONCHECK_SPECIFIER_TYPE (x, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 void set_color_attached_to (Lisp_Object obj, Lisp_Object face,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 Lisp_Object property);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 /*****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 * Font Specifier Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 *****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 struct font_specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 Lisp_Object face; /* face this is attached to, or nil */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 Lisp_Object face_property; /* property of that face */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 };
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 #define FONT_SPECIFIER_DATA(g) (SPECIFIER_TYPE_DATA (g, font))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 #define FONT_SPECIFIER_FACE(g) (FONT_SPECIFIER_DATA (g)->face)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 #define FONT_SPECIFIER_FACE_PROPERTY(g) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 (FONT_SPECIFIER_DATA (g)->face_property)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 DECLARE_SPECIFIER_TYPE (font);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 #define XFONT_SPECIFIER(x) XSPECIFIER_TYPE (x, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 #define XSETFONT_SPECIFIER(x, p) XSETSPECIFIER_TYPE (x, p, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 #define FONT_SPECIFIERP(x) SPECIFIER_TYPEP (x, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 #define CHECK_FONT_SPECIFIER(x) CHECK_SPECIFIER_TYPE (x, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 #define CONCHECK_FONT_SPECIFIER(x) CONCHECK_SPECIFIER_TYPE (x, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 void set_font_attached_to (Lisp_Object obj, Lisp_Object face,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 Lisp_Object property);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 /*****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82 * Face Boolean Specifier Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 *****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 struct face_boolean_specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 Lisp_Object face; /* face this is attached to, or nil */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 Lisp_Object face_property; /* property of that face */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 };
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 #define FACE_BOOLEAN_SPECIFIER_DATA(g) (SPECIFIER_TYPE_DATA (g, face_boolean))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 #define FACE_BOOLEAN_SPECIFIER_FACE(g) (FACE_BOOLEAN_SPECIFIER_DATA (g)->face)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 #define FACE_BOOLEAN_SPECIFIER_FACE_PROPERTY(g) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 (FACE_BOOLEAN_SPECIFIER_DATA (g)->face_property)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 DECLARE_SPECIFIER_TYPE (face_boolean);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 extern Lisp_Object Qface_boolean;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 #define XFACE_BOOLEAN_SPECIFIER(x) XSPECIFIER_TYPE (x, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 #define XSETFACE_BOOLEAN_SPECIFIER(x, p) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 XSETSPECIFIER_TYPE (x, p, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 #define FACE_BOOLEAN_SPECIFIERP(x) SPECIFIER_TYPEP (x, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 #define CHECK_FACE_BOOLEAN_SPECIFIER(x) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 CHECK_SPECIFIER_TYPE (x, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 #define CONCHECK_FACE_BOOLEAN_SPECIFIER(x) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 CONCHECK_SPECIFIER_TYPE (x, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 void set_face_boolean_attached_to (Lisp_Object obj, Lisp_Object face,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 Lisp_Object property);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 /****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 * Color Instance Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 ****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 DECLARE_LRECORD (color_instance, struct Lisp_Color_Instance);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 #define XCOLOR_INSTANCE(x) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 XRECORD (x, color_instance, struct Lisp_Color_Instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 #define XSETCOLOR_INSTANCE(x, p) XSETRECORD (x, p, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 #define COLOR_INSTANCEP(x) RECORDP (x, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 #define GC_COLOR_INSTANCEP(x) GC_RECORDP (x, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 #define CHECK_COLOR_INSTANCE(x) CHECK_RECORD (x, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 #define CONCHECK_COLOR_INSTANCE(x) CONCHECK_RECORD (x, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 183
diff changeset
123 EXFUN (Fmake_color_instance, 3);
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 extern Lisp_Object Vthe_null_color_instance;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 struct Lisp_Color_Instance
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 struct lcrecord_header header;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 Lisp_Object name;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131 Lisp_Object device;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 /* console-type-specific data */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 void *data;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 };
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
137 #define COLOR_INSTANCE_NAME(c) ((c)->name)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 #define COLOR_INSTANCE_DEVICE(c) ((c)->device)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 /****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 * Font Instance Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 ****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144 DECLARE_LRECORD (font_instance, struct Lisp_Font_Instance);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 #define XFONT_INSTANCE(x) XRECORD (x, font_instance, struct Lisp_Font_Instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 #define XSETFONT_INSTANCE(x, p) XSETRECORD (x, p, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 #define FONT_INSTANCEP(x) RECORDP (x, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 #define GC_FONT_INSTANCEP(x) GC_RECORDP (x, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 #define CHECK_FONT_INSTANCE(x) CHECK_RECORD (x, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 #define CONCHECK_FONT_INSTANCE(x) CONCHECK_RECORD (x, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
152 #ifdef MULE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
153 int font_spec_matches_charset (struct device *d, Lisp_Object charset,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
154 CONST Bufbyte *nonreloc,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
155 Lisp_Object reloc, Bytecount offset,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
156 Bytecount length);
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents: 16
diff changeset
157 #endif
16
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 2
diff changeset
158
272
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 183
diff changeset
159 EXFUN (Fmake_font_instance, 3);
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 183
diff changeset
160 EXFUN (Ffont_instance_name, 1);
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 183
diff changeset
161 EXFUN (Ffont_instance_p, 1);
c5d627a313b1 Import from CVS: tag r21-0b34
cvs
parents: 183
diff changeset
162 EXFUN (Ffont_instance_truename, 1);
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 extern Lisp_Object Vthe_null_font_instance;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166 struct Lisp_Font_Instance
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 struct lcrecord_header header;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 Lisp_Object name;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 Lisp_Object device;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172 unsigned short ascent; /* extracted from `font', or made up */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 unsigned short descent;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 unsigned short width;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 unsigned short height;
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 70
diff changeset
176 int proportional_p;
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 /* console-type-specific data */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179 void *data;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 };
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
182 #define FONT_INSTANCE_NAME(f) ((f)->name)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
183 #define FONT_INSTANCE_DEVICE(f) ((f)->device)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
184 #define FONT_INSTANCE_ASCENT(f) ((f)->ascent)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185 #define FONT_INSTANCE_DESCENT(f) ((f)->descent)
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
186 #define FONT_INSTANCE_WIDTH(f) ((f)->width)
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
187 #define FONT_INSTANCE_HEIGHT(f) ((f)->height)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189 #endif /* _XEMACS_OBJECTS_H_ */