comparison src/macgui.h @ 90084:befae6bafecb

Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-6 Merge from emacs--cvs-trunk--0 Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-48 - miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-51 Update from CVS
author Miles Bader <miles@gnu.org>
date Mon, 24 Jan 2005 22:34:31 +0000
parents 95879cc1ed20 d4cb255b034d
children 29e773288013
comparison
equal deleted inserted replaced
90083:2b2f720892ae 90084:befae6bafecb
90 int width; 90 int width;
91 int ascent; 91 int ascent;
92 int descent; 92 int descent;
93 } XCharStruct; 93 } XCharStruct;
94 94
95 #define STORE_XCHARSTRUCT(xcs, w, bds) \
96 ((xcs).width = (w), \
97 (xcs).lbearing = (bds).left, \
98 (xcs).rbearing = (bds).right, \
99 (xcs).ascent = -(bds).top, \
100 (xcs).descent = (bds).bottom)
101
95 struct MacFontStruct { 102 struct MacFontStruct {
96 char *fontname; 103 char *fontname;
97 104
98 short mac_fontnum; /* font number of font used in this window */ 105 short mac_fontnum; /* font number of font used in this window */
99 int mac_fontsize; /* size of font */ 106 int mac_fontsize; /* size of font */