annotate src/objects.h @ 48:56c54cf7c5b6 r19-16b90

Import from CVS: tag r19-16b90
author cvs
date Mon, 13 Aug 2007 08:56:04 +0200
parents 0293115a14e9
children 131b0175ea99
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 extern Lisp_Object Qcolor;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48 #define XCOLOR_SPECIFIER(x) XSPECIFIER_TYPE (x, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 #define XSETCOLOR_SPECIFIER(x, p) XSETSPECIFIER_TYPE (x, p, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 #define COLOR_SPECIFIERP(x) SPECIFIER_TYPEP (x, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 #define CHECK_COLOR_SPECIFIER(x) CHECK_SPECIFIER_TYPE (x, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 #define CONCHECK_COLOR_SPECIFIER(x) CONCHECK_SPECIFIER_TYPE (x, color)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54 void set_color_attached_to (Lisp_Object obj, Lisp_Object face,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 Lisp_Object property);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 /*****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 * Font Specifier Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59 *****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 struct font_specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 Lisp_Object face; /* face this is attached to, or nil */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 Lisp_Object face_property; /* property of that face */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65 };
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 #define FONT_SPECIFIER_DATA(g) (SPECIFIER_TYPE_DATA (g, font))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68 #define FONT_SPECIFIER_FACE(g) (FONT_SPECIFIER_DATA (g)->face)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 #define FONT_SPECIFIER_FACE_PROPERTY(g) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70 (FONT_SPECIFIER_DATA (g)->face_property)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 DECLARE_SPECIFIER_TYPE (font);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73 extern Lisp_Object Qfont;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 #define XFONT_SPECIFIER(x) XSPECIFIER_TYPE (x, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 #define XSETFONT_SPECIFIER(x, p) XSETSPECIFIER_TYPE (x, p, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76 #define FONT_SPECIFIERP(x) SPECIFIER_TYPEP (x, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 #define CHECK_FONT_SPECIFIER(x) CHECK_SPECIFIER_TYPE (x, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 #define CONCHECK_FONT_SPECIFIER(x) CONCHECK_SPECIFIER_TYPE (x, font)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 void set_font_attached_to (Lisp_Object obj, Lisp_Object face,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81 Lisp_Object property);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 /*****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 * Face Boolean Specifier Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 *****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 struct face_boolean_specifier
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 Lisp_Object face; /* face this is attached to, or nil */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 Lisp_Object face_property; /* property of that face */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 };
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 #define FACE_BOOLEAN_SPECIFIER_DATA(g) (SPECIFIER_TYPE_DATA (g, face_boolean))
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 #define FACE_BOOLEAN_SPECIFIER_FACE(g) (FACE_BOOLEAN_SPECIFIER_DATA (g)->face)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 #define FACE_BOOLEAN_SPECIFIER_FACE_PROPERTY(g) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 (FACE_BOOLEAN_SPECIFIER_DATA (g)->face_property)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98 DECLARE_SPECIFIER_TYPE (face_boolean);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 extern Lisp_Object Qface_boolean;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 #define XFACE_BOOLEAN_SPECIFIER(x) XSPECIFIER_TYPE (x, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101 #define XSETFACE_BOOLEAN_SPECIFIER(x, p) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 XSETSPECIFIER_TYPE (x, p, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 #define FACE_BOOLEAN_SPECIFIERP(x) SPECIFIER_TYPEP (x, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104 #define CHECK_FACE_BOOLEAN_SPECIFIER(x) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 CHECK_SPECIFIER_TYPE (x, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 #define CONCHECK_FACE_BOOLEAN_SPECIFIER(x) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 CONCHECK_SPECIFIER_TYPE (x, face_boolean)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 void set_face_boolean_attached_to (Lisp_Object obj, Lisp_Object face,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110 Lisp_Object property);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 /****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113 * Color Instance Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 ****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 DECLARE_LRECORD (color_instance, struct Lisp_Color_Instance);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117 #define XCOLOR_INSTANCE(x) \
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 XRECORD (x, color_instance, struct Lisp_Color_Instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 #define XSETCOLOR_INSTANCE(x, p) XSETRECORD (x, p, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 #define COLOR_INSTANCEP(x) RECORDP (x, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 #define GC_COLOR_INSTANCEP(x) GC_RECORDP (x, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122 #define CHECK_COLOR_INSTANCE(x) CHECK_RECORD (x, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 #define CONCHECK_COLOR_INSTANCE(x) CONCHECK_RECORD (x, color_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 Lisp_Object Fmake_color_instance (Lisp_Object name, Lisp_Object device,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126 Lisp_Object no_error);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 Lisp_Object Fcolor_instance_p (Lisp_Object obj);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 Lisp_Object Fcolor_instance_name (Lisp_Object obj);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 extern Lisp_Object Vthe_null_color_instance;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 struct Lisp_Color_Instance
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 {
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134 struct lcrecord_header header;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 Lisp_Object name;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 Lisp_Object device;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 /* console-type-specific data */
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139 void *data;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 };
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
142 #define COLOR_INSTANCE_NAME(c) ((c)->name)
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 #define COLOR_INSTANCE_DEVICE(c) ((c)->device)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 /****************************************************************************
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 * Font Instance Object *
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 ****************************************************************************/
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 DECLARE_LRECORD (font_instance, struct Lisp_Font_Instance);
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 #define XFONT_INSTANCE(x) XRECORD (x, font_instance, struct Lisp_Font_Instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151 #define XSETFONT_INSTANCE(x, p) XSETRECORD (x, p, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 #define FONT_INSTANCEP(x) RECORDP (x, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 #define GC_FONT_INSTANCEP(x) GC_RECORDP (x, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 #define CHECK_FONT_INSTANCE(x) CHECK_RECORD (x, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155 #define CONCHECK_FONT_INSTANCE(x) CONCHECK_RECORD (x, font_instance)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156
16
0293115a14e9 Import from CVS: tag r19-15b91
cvs
parents: 2
diff changeset
157
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 Lisp_Object Fmake_font_instance (Lisp_Object name, Lisp_Object device,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159 Lisp_Object no_error);
2
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
160 Lisp_Object Ffont_instance_p (Lisp_Object obj);
ac2d302a0011 Import from CVS: tag r19-15b2
cvs
parents: 0
diff changeset
161 Lisp_Object Ffont_instance_name (Lisp_Object obj);
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162 Lisp_Object Ffont_instance_truename (Lisp_Object obj);
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;
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176 char proportional_p;
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_ */