First import
[xorg_rtime.git] / xorg-server-1.4 / hw / dmx / doc / html / dmxgc_8c.html
blob1102958eda42b0f1a9adf690903e22c89a663eec
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>dmxgc.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="dmxgc_8h-source.html">dmxgc.h</a>"</code><br>
14 <code>#include "<a class="el" href="dmxgcops_8h-source.html">dmxgcops.h</a>"</code><br>
15 <code>#include "<a class="el" href="dmxpixmap_8h-source.html">dmxpixmap.h</a>"</code><br>
16 <code>#include "<a class="el" href="dmxfont_8h-source.html">dmxfont.h</a>"</code><br>
17 <code>#include "gcstruct.h"</code><br>
18 <code>#include "pixmapstr.h"</code><br>
19 <code>#include "migc.h"</code><br>
20 <table border=0 cellpadding=0 cellspacing=0>
21 <tr><td></td></tr>
22 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
23 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a2">dmxInitGC</a> (ScreenPtr pScreen)</td></tr>
25 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a3">dmxBECreateGC</a> (ScreenPtr pScreen, GCPtr pGC)</td></tr>
27 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a4">dmxCreateGC</a> (GCPtr pGC)</td></tr>
29 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a5">dmxValidateGC</a> (GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)</td></tr>
31 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a6">dmxChangeGC</a> (GCPtr pGC, unsigned long mask)</td></tr>
33 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a7">dmxCopyGC</a> (GCPtr pGCSrc, unsigned long changes, GCPtr pGCDst)</td></tr>
35 <tr><td class="memItemLeft" nowrap align=right valign=top>Bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a8">dmxBEFreeGC</a> (GCPtr pGC)</td></tr>
37 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a9">dmxDestroyGC</a> (GCPtr pGC)</td></tr>
39 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a10">dmxChangeClip</a> (GCPtr pGC, int type, pointer pvalue, int nrects)</td></tr>
41 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a11">dmxDestroyClip</a> (GCPtr pGC)</td></tr>
43 <tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="dmxgc_8c.html#a12">dmxCopyClip</a> (GCPtr pGCDst, GCPtr pGCSrc)</td></tr>
45 </table>
46 <hr><a name="_details"></a><h2>Detailed Description</h2>
47 This file provides support for GCs.<hr><h2>Function Documentation</h2>
48 <a class="anchor" name="a3" doxytag="dmxgc.c::dmxBECreateGC" ></a><p>
49 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
50 <tr>
51 <td class="mdRow">
52 <table cellpadding="0" cellspacing="0" border="0">
53 <tr>
54 <td class="md" nowrap valign="top"> void dmxBECreateGC </td>
55 <td class="md" valign="top">(&nbsp;</td>
56 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
57 <td class="mdname" nowrap> <em>pScreen</em>, </td>
58 </tr>
59 <tr>
60 <td></td>
61 <td></td>
62 <td class="md" nowrap>GCPtr&nbsp;</td>
63 <td class="mdname" nowrap> <em>pGC</em></td>
64 </tr>
65 <tr>
66 <td></td>
67 <td class="md">)&nbsp;</td>
68 <td class="md" colspan="2"></td>
69 </tr>
71 </table>
72 </td>
73 </tr>
74 </table>
75 <table cellspacing=5 cellpadding=0 border=0>
76 <tr>
77 <td>
78 &nbsp;
79 </td>
80 <td>
82 <p>
83 Create the GC on the back-end server. </td>
84 </tr>
85 </table>
86 <a class="anchor" name="a8" doxytag="dmxgc.c::dmxBEFreeGC" ></a><p>
87 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
88 <tr>
89 <td class="mdRow">
90 <table cellpadding="0" cellspacing="0" border="0">
91 <tr>
92 <td class="md" nowrap valign="top"> Bool dmxBEFreeGC </td>
93 <td class="md" valign="top">(&nbsp;</td>
94 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
95 <td class="mdname1" valign="top" nowrap> <em>pGC</em> </td>
96 <td class="md" valign="top">&nbsp;)&nbsp;</td>
97 <td class="md" nowrap></td>
98 </tr>
100 </table>
101 </td>
102 </tr>
103 </table>
104 <table cellspacing=5 cellpadding=0 border=0>
105 <tr>
106 <td>
107 &nbsp;
108 </td>
109 <td>
112 Free the <em>pGC</em> on the back-end server. </td>
113 </tr>
114 </table>
115 <a class="anchor" name="a10" doxytag="dmxgc.c::dmxChangeClip" ></a><p>
116 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
117 <tr>
118 <td class="mdRow">
119 <table cellpadding="0" cellspacing="0" border="0">
120 <tr>
121 <td class="md" nowrap valign="top"> void dmxChangeClip </td>
122 <td class="md" valign="top">(&nbsp;</td>
123 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
124 <td class="mdname" nowrap> <em>pGC</em>, </td>
125 </tr>
126 <tr>
127 <td></td>
128 <td></td>
129 <td class="md" nowrap>int&nbsp;</td>
130 <td class="mdname" nowrap> <em>type</em>, </td>
131 </tr>
132 <tr>
133 <td></td>
134 <td></td>
135 <td class="md" nowrap>pointer&nbsp;</td>
136 <td class="mdname" nowrap> <em>pvalue</em>, </td>
137 </tr>
138 <tr>
139 <td></td>
140 <td></td>
141 <td class="md" nowrap>int&nbsp;</td>
142 <td class="mdname" nowrap> <em>nrects</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 Change the clip rects for a GC. </td>
163 </tr>
164 </table>
165 <a class="anchor" name="a6" doxytag="dmxgc.c::dmxChangeGC" ></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 dmxChangeGC </td>
172 <td class="md" valign="top">(&nbsp;</td>
173 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
174 <td class="mdname" nowrap> <em>pGC</em>, </td>
175 </tr>
176 <tr>
177 <td></td>
178 <td></td>
179 <td class="md" nowrap>unsigned long&nbsp;</td>
180 <td class="mdname" nowrap> <em>mask</em></td>
181 </tr>
182 <tr>
183 <td></td>
184 <td class="md">)&nbsp;</td>
185 <td class="md" colspan="2"></td>
186 </tr>
188 </table>
189 </td>
190 </tr>
191 </table>
192 <table cellspacing=5 cellpadding=0 border=0>
193 <tr>
194 <td>
195 &nbsp;
196 </td>
197 <td>
200 Set the values in the graphics context on the back-end server associated with <em>pGC's</em> screen. </td>
201 </tr>
202 </table>
203 <a class="anchor" name="a12" doxytag="dmxgc.c::dmxCopyClip" ></a><p>
204 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
205 <tr>
206 <td class="mdRow">
207 <table cellpadding="0" cellspacing="0" border="0">
208 <tr>
209 <td class="md" nowrap valign="top"> void dmxCopyClip </td>
210 <td class="md" valign="top">(&nbsp;</td>
211 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
212 <td class="mdname" nowrap> <em>pGCDst</em>, </td>
213 </tr>
214 <tr>
215 <td></td>
216 <td></td>
217 <td class="md" nowrap>GCPtr&nbsp;</td>
218 <td class="mdname" nowrap> <em>pGCSrc</em></td>
219 </tr>
220 <tr>
221 <td></td>
222 <td class="md">)&nbsp;</td>
223 <td class="md" colspan="2"></td>
224 </tr>
226 </table>
227 </td>
228 </tr>
229 </table>
230 <table cellspacing=5 cellpadding=0 border=0>
231 <tr>
232 <td>
233 &nbsp;
234 </td>
235 <td>
238 Copy a GC's clip rects. </td>
239 </tr>
240 </table>
241 <a class="anchor" name="a7" doxytag="dmxgc.c::dmxCopyGC" ></a><p>
242 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
243 <tr>
244 <td class="mdRow">
245 <table cellpadding="0" cellspacing="0" border="0">
246 <tr>
247 <td class="md" nowrap valign="top"> void dmxCopyGC </td>
248 <td class="md" valign="top">(&nbsp;</td>
249 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
250 <td class="mdname" nowrap> <em>pGCSrc</em>, </td>
251 </tr>
252 <tr>
253 <td></td>
254 <td></td>
255 <td class="md" nowrap>unsigned long&nbsp;</td>
256 <td class="mdname" nowrap> <em>changes</em>, </td>
257 </tr>
258 <tr>
259 <td></td>
260 <td></td>
261 <td class="md" nowrap>GCPtr&nbsp;</td>
262 <td class="mdname" nowrap> <em>pGCDst</em></td>
263 </tr>
264 <tr>
265 <td></td>
266 <td class="md">)&nbsp;</td>
267 <td class="md" colspan="2"></td>
268 </tr>
270 </table>
271 </td>
272 </tr>
273 </table>
274 <table cellspacing=5 cellpadding=0 border=0>
275 <tr>
276 <td>
277 &nbsp;
278 </td>
279 <td>
282 Copy <em>pGCSrc</em> to <em>pGCDst</em> on the back-end server associated with <em>pGCSrc's</em> screen. </td>
283 </tr>
284 </table>
285 <a class="anchor" name="a4" doxytag="dmxgc.c::dmxCreateGC" ></a><p>
286 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
287 <tr>
288 <td class="mdRow">
289 <table cellpadding="0" cellspacing="0" border="0">
290 <tr>
291 <td class="md" nowrap valign="top"> Bool dmxCreateGC </td>
292 <td class="md" valign="top">(&nbsp;</td>
293 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
294 <td class="mdname1" valign="top" nowrap> <em>pGC</em> </td>
295 <td class="md" valign="top">&nbsp;)&nbsp;</td>
296 <td class="md" nowrap></td>
297 </tr>
299 </table>
300 </td>
301 </tr>
302 </table>
303 <table cellspacing=5 cellpadding=0 border=0>
304 <tr>
305 <td>
306 &nbsp;
307 </td>
308 <td>
311 Create a graphics context on the back-end server associated /a pGC's screen. </td>
312 </tr>
313 </table>
314 <a class="anchor" name="a11" doxytag="dmxgc.c::dmxDestroyClip" ></a><p>
315 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
316 <tr>
317 <td class="mdRow">
318 <table cellpadding="0" cellspacing="0" border="0">
319 <tr>
320 <td class="md" nowrap valign="top"> void dmxDestroyClip </td>
321 <td class="md" valign="top">(&nbsp;</td>
322 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
323 <td class="mdname1" valign="top" nowrap> <em>pGC</em> </td>
324 <td class="md" valign="top">&nbsp;)&nbsp;</td>
325 <td class="md" nowrap></td>
326 </tr>
328 </table>
329 </td>
330 </tr>
331 </table>
332 <table cellspacing=5 cellpadding=0 border=0>
333 <tr>
334 <td>
335 &nbsp;
336 </td>
337 <td>
340 Destroy a GC's clip rects. </td>
341 </tr>
342 </table>
343 <a class="anchor" name="a9" doxytag="dmxgc.c::dmxDestroyGC" ></a><p>
344 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
345 <tr>
346 <td class="mdRow">
347 <table cellpadding="0" cellspacing="0" border="0">
348 <tr>
349 <td class="md" nowrap valign="top"> void dmxDestroyGC </td>
350 <td class="md" valign="top">(&nbsp;</td>
351 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
352 <td class="mdname1" valign="top" nowrap> <em>pGC</em> </td>
353 <td class="md" valign="top">&nbsp;)&nbsp;</td>
354 <td class="md" nowrap></td>
355 </tr>
357 </table>
358 </td>
359 </tr>
360 </table>
361 <table cellspacing=5 cellpadding=0 border=0>
362 <tr>
363 <td>
364 &nbsp;
365 </td>
366 <td>
369 Destroy the graphics context, <em>pGC</em> and free the corresponding GC on the back-end server. </td>
370 </tr>
371 </table>
372 <a class="anchor" name="a2" doxytag="dmxgc.c::dmxInitGC" ></a><p>
373 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
374 <tr>
375 <td class="mdRow">
376 <table cellpadding="0" cellspacing="0" border="0">
377 <tr>
378 <td class="md" nowrap valign="top"> Bool dmxInitGC </td>
379 <td class="md" valign="top">(&nbsp;</td>
380 <td class="md" nowrap valign="top">ScreenPtr&nbsp;</td>
381 <td class="mdname1" valign="top" nowrap> <em>pScreen</em> </td>
382 <td class="md" valign="top">&nbsp;)&nbsp;</td>
383 <td class="md" nowrap></td>
384 </tr>
386 </table>
387 </td>
388 </tr>
389 </table>
390 <table cellspacing=5 cellpadding=0 border=0>
391 <tr>
392 <td>
393 &nbsp;
394 </td>
395 <td>
398 Initialize the GC on <em>pScreen</em>, which currently involves allocating the GC private associated with this screen. </td>
399 </tr>
400 </table>
401 <a class="anchor" name="a5" doxytag="dmxgc.c::dmxValidateGC" ></a><p>
402 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
403 <tr>
404 <td class="mdRow">
405 <table cellpadding="0" cellspacing="0" border="0">
406 <tr>
407 <td class="md" nowrap valign="top"> void dmxValidateGC </td>
408 <td class="md" valign="top">(&nbsp;</td>
409 <td class="md" nowrap valign="top">GCPtr&nbsp;</td>
410 <td class="mdname" nowrap> <em>pGC</em>, </td>
411 </tr>
412 <tr>
413 <td></td>
414 <td></td>
415 <td class="md" nowrap>unsigned long&nbsp;</td>
416 <td class="mdname" nowrap> <em>changes</em>, </td>
417 </tr>
418 <tr>
419 <td></td>
420 <td></td>
421 <td class="md" nowrap>DrawablePtr&nbsp;</td>
422 <td class="mdname" nowrap> <em>pDrawable</em></td>
423 </tr>
424 <tr>
425 <td></td>
426 <td class="md">)&nbsp;</td>
427 <td class="md" colspan="2"></td>
428 </tr>
430 </table>
431 </td>
432 </tr>
433 </table>
434 <table cellspacing=5 cellpadding=0 border=0>
435 <tr>
436 <td>
437 &nbsp;
438 </td>
439 <td>
442 Validate a graphics context, <em>pGC</em>, locally in the DMX server and recompute the composite clip, if necessary. </td>
443 </tr>
444 </table>
445 <hr>
446 <address>
447 <small>
448 Generated June 29, 2004 for <a
449 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
450 <a href="http://www.doxygen.org/index.html">doxygen</a>
451 1.3.4.
452 </small>
453 </addres>
454 </hr>
455 </body>
456 </html>