First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxfont_8c.html
blobb1c6c9f87b600c305876eaa14c422493174a74ea
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.c File Reference</h1><code>#include "<a class="el" href="dmx_8h-source.html">dmx.h</a>"</code><br>
12 <code>#include "<a class="el" href="dmxsync_8h-source.html">dmxsync.h</a>"</code><br>
13 <code>#include "<a class="el" href="dmxfont_8h-source.html">dmxfont.h</a>"</code><br>
14 <code>#include "<a class="el" href="dmxlog_8h-source.html">dmxlog.h</a>"</code><br>
15 <code>#include "fontstruct.h"</code><br>
16 <code>#include "dixfont.h"</code><br>
17 <code>#include "dixstruct.h"</code><br>
18 <table border=0 cellpadding=0 cellspacing=0>
19 <tr><td></td></tr>
20 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
21 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a10">dmxInitFonts</a> (void)</td></tr>
23 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a11">dmxResetFonts</a> (void)</td></tr>
25 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a12">dmxBELoadFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxfont_8c.html#a13">dmxRealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</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_8c.html#a14">dmxBEFreeFont</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_8c.html#a15">dmxUnrealizeFont</a> (ScreenPtr pScreen, FontPtr pFont)</td></tr>
33 </table>
34 <hr><a name="_details"></a><h2>Detailed Description</h2>
35 This file provides support for fonts.<hr><h2>Function Documentation</h2>
36 <a class="anchor" name="a14" doxytag="dmxfont.c::dmxBEFreeFont" ></a><p>
37 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
38 <tr>
39 <td class="mdRow">
40 <table cellpadding="0" cellspacing="0" border="0">
41 <tr>
42 <td class="md" nowrap valign="top"> Bool dmxBEFreeFont </td>
43 <td class="md" valign="top">(&nbsp;</td>
44 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
45 <td class="mdname" nowrap> <em>pScreen</em>, </td>
46 </tr>
47 <tr>
48 <td></td>
49 <td></td>
50 <td class="md" nowrap>FontPtr&nbsp;</td>
51 <td class="mdname" nowrap> <em>pFont</em></td>
52 </tr>
53 <tr>
54 <td></td>
55 <td class="md">)&nbsp;</td>
56 <td class="md" colspan="2"></td>
57 </tr>
59 </table>
60 </td>
61 </tr>
62 </table>
63 <table cellspacing=5 cellpadding=0 border=0>
64 <tr>
65 <td>
66 &nbsp;
67 </td>
68 <td>
70 <p>
71 Free <em>pFont</em> on the back-end associated with <em>pScreen</em>. </td>
72 </tr>
73 </table>
74 <a class="anchor" name="a12" doxytag="dmxfont.c::dmxBELoadFont" ></a><p>
75 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
76 <tr>
77 <td class="mdRow">
78 <table cellpadding="0" cellspacing="0" border="0">
79 <tr>
80 <td class="md" nowrap valign="top"> Bool dmxBELoadFont </td>
81 <td class="md" valign="top">(&nbsp;</td>
82 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
83 <td class="mdname" nowrap> <em>pScreen</em>, </td>
84 </tr>
85 <tr>
86 <td></td>
87 <td></td>
88 <td class="md" nowrap>FontPtr&nbsp;</td>
89 <td class="mdname" nowrap> <em>pFont</em></td>
90 </tr>
91 <tr>
92 <td></td>
93 <td class="md">)&nbsp;</td>
94 <td class="md" colspan="2"></td>
95 </tr>
97 </table>
98 </td>
99 </tr>
100 </table>
101 <table cellspacing=5 cellpadding=0 border=0>
102 <tr>
103 <td>
104 &nbsp;
105 </td>
106 <td>
109 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>
110 </tr>
111 </table>
112 <a class="anchor" name="a10" doxytag="dmxfont.c::dmxInitFonts" ></a><p>
113 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
114 <tr>
115 <td class="mdRow">
116 <table cellpadding="0" cellspacing="0" border="0">
117 <tr>
118 <td class="md" nowrap valign="top"> void dmxInitFonts </td>
119 <td class="md" valign="top">(&nbsp;</td>
120 <td class="md" nowrap valign="top">void&nbsp;</td>
121 <td class="mdname1" valign="top" nowrap> </td>
122 <td class="md" valign="top">&nbsp;)&nbsp;</td>
123 <td class="md" nowrap></td>
124 </tr>
126 </table>
127 </td>
128 </tr>
129 </table>
130 <table cellspacing=5 cellpadding=0 border=0>
131 <tr>
132 <td>
133 &nbsp;
134 </td>
135 <td>
138 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>
139 </tr>
140 </table>
141 <a class="anchor" name="a13" doxytag="dmxfont.c::dmxRealizeFont" ></a><p>
142 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
143 <tr>
144 <td class="mdRow">
145 <table cellpadding="0" cellspacing="0" border="0">
146 <tr>
147 <td class="md" nowrap valign="top"> Bool dmxRealizeFont </td>
148 <td class="md" valign="top">(&nbsp;</td>
149 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
150 <td class="mdname" nowrap> <em>pScreen</em>, </td>
151 </tr>
152 <tr>
153 <td></td>
154 <td></td>
155 <td class="md" nowrap>FontPtr&nbsp;</td>
156 <td class="mdname" nowrap> <em>pFont</em></td>
157 </tr>
158 <tr>
159 <td></td>
160 <td class="md">)&nbsp;</td>
161 <td class="md" colspan="2"></td>
162 </tr>
164 </table>
165 </td>
166 </tr>
167 </table>
168 <table cellspacing=5 cellpadding=0 border=0>
169 <tr>
170 <td>
171 &nbsp;
172 </td>
173 <td>
176 Realize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </td>
177 </tr>
178 </table>
179 <a class="anchor" name="a11" doxytag="dmxfont.c::dmxResetFonts" ></a><p>
180 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
181 <tr>
182 <td class="mdRow">
183 <table cellpadding="0" cellspacing="0" border="0">
184 <tr>
185 <td class="md" nowrap valign="top"> void dmxResetFonts </td>
186 <td class="md" valign="top">(&nbsp;</td>
187 <td class="md" nowrap valign="top">void&nbsp;</td>
188 <td class="mdname1" valign="top" nowrap> </td>
189 <td class="md" valign="top">&nbsp;)&nbsp;</td>
190 <td class="md" nowrap></td>
191 </tr>
193 </table>
194 </td>
195 </tr>
196 </table>
197 <table cellspacing=5 cellpadding=0 border=0>
198 <tr>
199 <td>
200 &nbsp;
201 </td>
202 <td>
205 Reset font support by restoring the original ProcVector function pointers. </td>
206 </tr>
207 </table>
208 <a class="anchor" name="a15" doxytag="dmxfont.c::dmxUnrealizeFont" ></a><p>
209 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
210 <tr>
211 <td class="mdRow">
212 <table cellpadding="0" cellspacing="0" border="0">
213 <tr>
214 <td class="md" nowrap valign="top"> Bool dmxUnrealizeFont </td>
215 <td class="md" valign="top">(&nbsp;</td>
216 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
217 <td class="mdname" nowrap> <em>pScreen</em>, </td>
218 </tr>
219 <tr>
220 <td></td>
221 <td></td>
222 <td class="md" nowrap>FontPtr&nbsp;</td>
223 <td class="mdname" nowrap> <em>pFont</em></td>
224 </tr>
225 <tr>
226 <td></td>
227 <td class="md">)&nbsp;</td>
228 <td class="md" colspan="2"></td>
229 </tr>
231 </table>
232 </td>
233 </tr>
234 </table>
235 <table cellspacing=5 cellpadding=0 border=0>
236 <tr>
237 <td>
238 &nbsp;
239 </td>
240 <td>
243 Unrealize the font, <em>pFont</em>, on the back-end server associated with <em>pScreen</em>. </td>
244 </tr>
245 </table>
246 <hr>
247 <address>
248 <small>
249 Generated June 29, 2004 for <a
250 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
251 <a href="http://www.doxygen.org/index.html">doxygen</a>
252 1.3.4.
253 </small>
254 </addres>
255 </hr>
256 </body>
257 </html>