First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxfont_8h.html
blob503e94697c4591b4dbf88810d127a11f5d9c0fd3
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <title>File Index</title>
6 <link href="doxygen.css" rel="stylesheet" type="text/css">
7 </head>
8 <body>
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
11 <h1>dmxfont.h File Reference</h1><code>#include "fontstruct.h"</code><br>
13 <p>
14 <a href="dmxfont_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
15 <tr><td></td></tr>
16 <tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
17 <tr><td class="memItemLeft" nowrap align=right valign=top>struct &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a></td></tr>
19 <tr><td colspan=2><br><h2>Typedefs</h2></td></tr>
20 <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a0">dmxFontPrivRec</a></td></tr>
22 <tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a1">dmxFontPrivPtr</a></td></tr>
24 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
25 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a3">dmxInitFonts</a> (void)</td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a4">dmxResetFonts</a> (void)</td></tr>
29 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a5">dmxRealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
31 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a6">dmxUnrealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
33 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a7">dmxBELoadFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
35 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a8">dmxBEFreeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
37 <tr><td colspan=2><br><h2>Variables</h2></td></tr>
38 <tr><td class="memItemLeft" nowrap align=right valign=top>int&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8h.html#a2">dmxFontPrivateIndex</a></td></tr>
40 </table>
41 <hr><a name="_details"></a><h2>Detailed Description</h2>
42 Interface for font-related functions. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="dmxfont_8c.html">dmxfont.c</a></dd></dl>
43 <hr><h2>Typedef Documentation</h2>
44 <a class="anchor" name="a1" doxytag="dmxfont.h::dmxFontPrivPtr" ></a><p>
45 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
46 <tr>
47 <td class="mdRow">
48 <table cellpadding="0" cellspacing="0" border="0">
49 <tr>
50 <td class="md" nowrap valign="top"> typedef struct <a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a> * <a class="el" href="struct__dmxFontPriv.html">dmxFontPrivPtr</a>
51 </table>
52 </td>
53 </tr>
54 </table>
55 <table cellspacing=5 cellpadding=0 border=0>
56 <tr>
57 <td>
58 &nbsp;
59 </td>
60 <td>
62 <p>
63 Font private area. </td>
64 </tr>
65 </table>
66 <a class="anchor" name="a0" doxytag="dmxfont.h::dmxFontPrivRec" ></a><p>
67 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
68 <tr>
69 <td class="mdRow">
70 <table cellpadding="0" cellspacing="0" border="0">
71 <tr>
72 <td class="md" nowrap valign="top"> typedef struct <a class="el" href="struct__dmxFontPriv.html">_dmxFontPriv</a> <a class="el" href="struct__dmxFontPriv.html">dmxFontPrivRec</a>
73 </table>
74 </td>
75 </tr>
76 </table>
77 <table cellspacing=5 cellpadding=0 border=0>
78 <tr>
79 <td>
80 &nbsp;
81 </td>
82 <td>
84 <p>
85 Font private area. </td>
86 </tr>
87 </table>
88 <hr><h2>Function Documentation</h2>
89 <a class="anchor" name="a8" doxytag="dmxfont.h::dmxBEFreeFont" ></a><p>
90 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
91 <tr>
92 <td class="mdRow">
93 <table cellpadding="0" cellspacing="0" border="0">
94 <tr>
95 <td class="md" nowrap valign="top"> Bool dmxBEFreeFont </td>
96 <td class="md" valign="top">(&nbsp;</td>
97 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
98 <td class="mdname" nowrap> <em>pScreen</em>, </td>
99 </tr>
100 <tr>
101 <td></td>
102 <td></td>
103 <td class="md" nowrap>FontPtr&nbsp;</td>
104 <td class="mdname" nowrap> <em>pFont</em></td>
105 </tr>
106 <tr>
107 <td></td>
108 <td class="md">)&nbsp;</td>
109 <td class="md" colspan="2"></td>
110 </tr>
112 </table>
113 </td>
114 </tr>
115 </table>
116 <table cellspacing=5 cellpadding=0 border=0>
117 <tr>
118 <td>
119 &nbsp;
120 </td>
121 <td>
124 Free <em>pFont</em> on the back-end associated with <em>pScreen</em>. </td>
125 </tr>
126 </table>
127 <a class="anchor" name="a7" doxytag="dmxfont.h::dmxBELoadFont" ></a><p>
128 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
129 <tr>
130 <td class="mdRow">
131 <table cellpadding="0" cellspacing="0" border="0">
132 <tr>
133 <td class="md" nowrap valign="top"> Bool dmxBELoadFont </td>
134 <td class="md" valign="top">(&nbsp;</td>
135 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
136 <td class="mdname" nowrap> <em>pScreen</em>, </td>
137 </tr>
138 <tr>
139 <td></td>
140 <td></td>
141 <td class="md" nowrap>FontPtr&nbsp;</td>
142 <td class="mdname" nowrap> <em>pFont</em></td>
143 </tr>
144 <tr>
145 <td></td>
146 <td class="md">)&nbsp;</td>
147 <td class="md" colspan="2"></td>
148 </tr>
150 </table>
151 </td>
152 </tr>
153 </table>
154 <table cellspacing=5 cellpadding=0 border=0>
155 <tr>
156 <td>
157 &nbsp;
158 </td>
159 <td>
162 Load the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. When a font is loaded, the font path on back-end server is first initialized to that specified on the command line with the -fontpath options, and then the font is loaded. </td>
163 </tr>
164 </table>
165 <a class="anchor" name="a3" doxytag="dmxfont.h::dmxInitFonts" ></a><p>
166 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
167 <tr>
168 <td class="mdRow">
169 <table cellpadding="0" cellspacing="0" border="0">
170 <tr>
171 <td class="md" nowrap valign="top"> void dmxInitFonts </td>
172 <td class="md" valign="top">(&nbsp;</td>
173 <td class="md" nowrap valign="top">void&nbsp;</td>
174 <td class="mdname1" valign="top" nowrap> </td>
175 <td class="md" valign="top">&nbsp;)&nbsp;</td>
176 <td class="md" nowrap></td>
177 </tr>
179 </table>
180 </td>
181 </tr>
182 </table>
183 <table cellspacing=5 cellpadding=0 border=0>
184 <tr>
185 <td>
186 &nbsp;
187 </td>
188 <td>
191 Initialize font support. In addition to the screen function call pointers, DMX also hooks in at the ProcVector[] level. Here the old ProcVector function pointers are saved and the new ProcVector function pointers are initialized. </td>
192 </tr>
193 </table>
194 <a class="anchor" name="a5" doxytag="dmxfont.h::dmxRealizeFont" ></a><p>
195 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
196 <tr>
197 <td class="mdRow">
198 <table cellpadding="0" cellspacing="0" border="0">
199 <tr>
200 <td class="md" nowrap valign="top"> Bool dmxRealizeFont </td>
201 <td class="md" valign="top">(&nbsp;</td>
202 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
203 <td class="mdname" nowrap> <em>pScreen</em>, </td>
204 </tr>
205 <tr>
206 <td></td>
207 <td></td>
208 <td class="md" nowrap>FontPtr&nbsp;</td>
209 <td class="mdname" nowrap> <em>pFont</em></td>
210 </tr>
211 <tr>
212 <td></td>
213 <td class="md">)&nbsp;</td>
214 <td class="md" colspan="2"></td>
215 </tr>
217 </table>
218 </td>
219 </tr>
220 </table>
221 <table cellspacing=5 cellpadding=0 border=0>
222 <tr>
223 <td>
224 &nbsp;
225 </td>
226 <td>
229 Realize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </td>
230 </tr>
231 </table>
232 <a class="anchor" name="a4" doxytag="dmxfont.h::dmxResetFonts" ></a><p>
233 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
234 <tr>
235 <td class="mdRow">
236 <table cellpadding="0" cellspacing="0" border="0">
237 <tr>
238 <td class="md" nowrap valign="top"> void dmxResetFonts </td>
239 <td class="md" valign="top">(&nbsp;</td>
240 <td class="md" nowrap valign="top">void&nbsp;</td>
241 <td class="mdname1" valign="top" nowrap> </td>
242 <td class="md" valign="top">&nbsp;)&nbsp;</td>
243 <td class="md" nowrap></td>
244 </tr>
246 </table>
247 </td>
248 </tr>
249 </table>
250 <table cellspacing=5 cellpadding=0 border=0>
251 <tr>
252 <td>
253 &nbsp;
254 </td>
255 <td>
258 Reset font support by restoring the original ProcVector function pointers. </td>
259 </tr>
260 </table>
261 <a class="anchor" name="a6" doxytag="dmxfont.h::dmxUnrealizeFont" ></a><p>
262 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
263 <tr>
264 <td class="mdRow">
265 <table cellpadding="0" cellspacing="0" border="0">
266 <tr>
267 <td class="md" nowrap valign="top"> Bool dmxUnrealizeFont </td>
268 <td class="md" valign="top">(&nbsp;</td>
269 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
270 <td class="mdname" nowrap> <em>pScreen</em>, </td>
271 </tr>
272 <tr>
273 <td></td>
274 <td></td>
275 <td class="md" nowrap>FontPtr&nbsp;</td>
276 <td class="mdname" nowrap> <em>pFont</em></td>
277 </tr>
278 <tr>
279 <td></td>
280 <td class="md">)&nbsp;</td>
281 <td class="md" colspan="2"></td>
282 </tr>
284 </table>
285 </td>
286 </tr>
287 </table>
288 <table cellspacing=5 cellpadding=0 border=0>
289 <tr>
290 <td>
291 &nbsp;
292 </td>
293 <td>
296 Unrealize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </td>
297 </tr>
298 </table>
299 <hr><h2>Variable Documentation</h2>
300 <a class="anchor" name="a2" doxytag="dmxfont.h::dmxFontPrivateIndex" ></a><p>
301 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
302 <tr>
303 <td class="mdRow">
304 <table cellpadding="0" cellspacing="0" border="0">
305 <tr>
306 <td class="md" nowrap valign="top"> int <a class="el" href="dmxscrinit_8c.html#a4">dmxFontPrivateIndex</a>
307 </table>
308 </td>
309 </tr>
310 </table>
311 <table cellspacing=5 cellpadding=0 border=0>
312 <tr>
313 <td>
314 &nbsp;
315 </td>
316 <td>
319 Private index for Fonts </td>
320 </tr>
321 </table>
322 <hr>
323 <address>
324 <small>
325 Generated June 29, 2004 for <a
326 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
327 <a href="http://www.doxygen.org/index.html">doxygen</a>
328 1.3.4.
329 </small>
330 </addres>
331 </hr>
332 </body>
333 </html>