Lines Matching refs:structure
146 #define fsUnpack_XCharInfo(packet, structure) \
147 (structure)->leftSideBearing = fsCat(packet,left); \
148 (structure)->rightSideBearing = fsCat(packet,right); \
149 (structure)->characterWidth = fsCat(packet,width); \
150 (structure)->ascent = fsCat(packet,ascent); \
151 (structure)->descent = fsCat(packet,descent); \
152 (structure)->attributes = fsCat(packet,attributes)
157 #define fsUnpack_XFontInfoHeader(packet, structure) \
158 (structure)->allExist = ((packet)->font_header_flags & FontInfoAllCharsExist) != 0; \
159 (structure)->drawDirection = \
162 (structure)->inkInside = ((packet)->font_header_flags & FontInfoInkInside) != 0; \
164 (structure)->firstRow = (packet)->font_hdr_char_range_min_char_high; \
165 (structure)->firstCol = (packet)->font_hdr_char_range_min_char_low; \
166 (structure)->lastRow = (packet)->font_hdr_char_range_max_char_high; \
167 (structure)->lastCol = (packet)->font_hdr_char_range_max_char_low; \
168 (structure)->defaultCh = (packet)->font_header_default_char_low \
171 (structure)->fontDescent = (packet)->font_header_font_descent; \
172 (structure)->fontAscent = (packet)->font_header_font_ascent; \
174 fsUnpack_XCharInfo((packet)->font_header_min_bounds, &(structure)->minbounds); \
175 fsUnpack_XCharInfo((packet)->font_header_min_bounds, &(structure)->ink_minbounds); \
176 fsUnpack_XCharInfo((packet)->font_header_max_bounds, &(structure)->maxbounds); \
177 fsUnpack_XCharInfo((packet)->font_header_max_bounds, &(structure)->ink_maxbounds)