1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
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">
9 <!-- Generated by Doxygen 1.3.4 -->
10 <div class=
"qindex"><a class=
"qindex" href=
"main.html">Main
Page
</a> |
<a class=
"qindex" href=
"classes.html">Alphabetical
List
</a> |
<a class=
"qindex" href=
"annotated.html">Data
Structures
</a> |
<a class=
"qindex" href=
"files.html">File
List
</a> |
<a class=
"qindex" href=
"functions.html">Data
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>
22 <tr><td colspan=
2><br><h2>Functions
</h2></td></tr>
23 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</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
</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
</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
</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
</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
</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
</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
</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
</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
</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
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxgc_8c.html#a12">dmxCopyClip
</a> (GCPtr pGCDst, GCPtr pGCSrc)
</td></tr>
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">
52 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
54 <td class=
"md" nowrap
valign=
"top"> void dmxBECreateGC
</td>
55 <td class=
"md" valign=
"top">(
</td>
56 <td class=
"md" nowrap
valign=
"top">ScreenPtr
</td>
57 <td class=
"mdname" nowrap
> <em>pScreen
</em>,
</td>
62 <td class=
"md" nowrap
>GCPtr
</td>
63 <td class=
"mdname" nowrap
> <em>pGC
</em></td>
67 <td class=
"md">)
</td>
68 <td class=
"md" colspan=
"2"></td>
75 <table cellspacing=
5 cellpadding=
0 border=
0>
83 Create the GC on the back-end server.
</td>
86 <a class=
"anchor" name=
"a8" doxytag=
"dmxgc.c::dmxBEFreeGC" ></a><p>
87 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
90 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
92 <td class=
"md" nowrap
valign=
"top"> Bool dmxBEFreeGC
</td>
93 <td class=
"md" valign=
"top">(
</td>
94 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
95 <td class=
"mdname1" valign=
"top" nowrap
> <em>pGC
</em> </td>
96 <td class=
"md" valign=
"top"> )
</td>
97 <td class=
"md" nowrap
></td>
104 <table cellspacing=
5 cellpadding=
0 border=
0>
112 Free the
<em>pGC
</em> on the back-end server.
</td>
115 <a class=
"anchor" name=
"a10" doxytag=
"dmxgc.c::dmxChangeClip" ></a><p>
116 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
119 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
121 <td class=
"md" nowrap
valign=
"top"> void dmxChangeClip
</td>
122 <td class=
"md" valign=
"top">(
</td>
123 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
124 <td class=
"mdname" nowrap
> <em>pGC
</em>,
</td>
129 <td class=
"md" nowrap
>int
</td>
130 <td class=
"mdname" nowrap
> <em>type
</em>,
</td>
135 <td class=
"md" nowrap
>pointer
</td>
136 <td class=
"mdname" nowrap
> <em>pvalue
</em>,
</td>
141 <td class=
"md" nowrap
>int
</td>
142 <td class=
"mdname" nowrap
> <em>nrects
</em></td>
146 <td class=
"md">)
</td>
147 <td class=
"md" colspan=
"2"></td>
154 <table cellspacing=
5 cellpadding=
0 border=
0>
162 Change the clip rects for a GC.
</td>
165 <a class=
"anchor" name=
"a6" doxytag=
"dmxgc.c::dmxChangeGC" ></a><p>
166 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
169 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
171 <td class=
"md" nowrap
valign=
"top"> void dmxChangeGC
</td>
172 <td class=
"md" valign=
"top">(
</td>
173 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
174 <td class=
"mdname" nowrap
> <em>pGC
</em>,
</td>
179 <td class=
"md" nowrap
>unsigned long
</td>
180 <td class=
"mdname" nowrap
> <em>mask
</em></td>
184 <td class=
"md">)
</td>
185 <td class=
"md" colspan=
"2"></td>
192 <table cellspacing=
5 cellpadding=
0 border=
0>
200 Set the values in the graphics context on the back-end server associated with
<em>pGC's
</em> screen.
</td>
203 <a class=
"anchor" name=
"a12" doxytag=
"dmxgc.c::dmxCopyClip" ></a><p>
204 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
207 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
209 <td class=
"md" nowrap
valign=
"top"> void dmxCopyClip
</td>
210 <td class=
"md" valign=
"top">(
</td>
211 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
212 <td class=
"mdname" nowrap
> <em>pGCDst
</em>,
</td>
217 <td class=
"md" nowrap
>GCPtr
</td>
218 <td class=
"mdname" nowrap
> <em>pGCSrc
</em></td>
222 <td class=
"md">)
</td>
223 <td class=
"md" colspan=
"2"></td>
230 <table cellspacing=
5 cellpadding=
0 border=
0>
238 Copy a GC's clip rects.
</td>
241 <a class=
"anchor" name=
"a7" doxytag=
"dmxgc.c::dmxCopyGC" ></a><p>
242 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
245 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
247 <td class=
"md" nowrap
valign=
"top"> void dmxCopyGC
</td>
248 <td class=
"md" valign=
"top">(
</td>
249 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
250 <td class=
"mdname" nowrap
> <em>pGCSrc
</em>,
</td>
255 <td class=
"md" nowrap
>unsigned long
</td>
256 <td class=
"mdname" nowrap
> <em>changes
</em>,
</td>
261 <td class=
"md" nowrap
>GCPtr
</td>
262 <td class=
"mdname" nowrap
> <em>pGCDst
</em></td>
266 <td class=
"md">)
</td>
267 <td class=
"md" colspan=
"2"></td>
274 <table cellspacing=
5 cellpadding=
0 border=
0>
282 Copy
<em>pGCSrc
</em> to
<em>pGCDst
</em> on the back-end server associated with
<em>pGCSrc's
</em> screen.
</td>
285 <a class=
"anchor" name=
"a4" doxytag=
"dmxgc.c::dmxCreateGC" ></a><p>
286 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
289 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
291 <td class=
"md" nowrap
valign=
"top"> Bool dmxCreateGC
</td>
292 <td class=
"md" valign=
"top">(
</td>
293 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
294 <td class=
"mdname1" valign=
"top" nowrap
> <em>pGC
</em> </td>
295 <td class=
"md" valign=
"top"> )
</td>
296 <td class=
"md" nowrap
></td>
303 <table cellspacing=
5 cellpadding=
0 border=
0>
311 Create a graphics context on the back-end server associated /a pGC's screen.
</td>
314 <a class=
"anchor" name=
"a11" doxytag=
"dmxgc.c::dmxDestroyClip" ></a><p>
315 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
318 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
320 <td class=
"md" nowrap
valign=
"top"> void dmxDestroyClip
</td>
321 <td class=
"md" valign=
"top">(
</td>
322 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
323 <td class=
"mdname1" valign=
"top" nowrap
> <em>pGC
</em> </td>
324 <td class=
"md" valign=
"top"> )
</td>
325 <td class=
"md" nowrap
></td>
332 <table cellspacing=
5 cellpadding=
0 border=
0>
340 Destroy a GC's clip rects.
</td>
343 <a class=
"anchor" name=
"a9" doxytag=
"dmxgc.c::dmxDestroyGC" ></a><p>
344 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
347 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
349 <td class=
"md" nowrap
valign=
"top"> void dmxDestroyGC
</td>
350 <td class=
"md" valign=
"top">(
</td>
351 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
352 <td class=
"mdname1" valign=
"top" nowrap
> <em>pGC
</em> </td>
353 <td class=
"md" valign=
"top"> )
</td>
354 <td class=
"md" nowrap
></td>
361 <table cellspacing=
5 cellpadding=
0 border=
0>
369 Destroy the graphics context,
<em>pGC
</em> and free the corresponding GC on the back-end server.
</td>
372 <a class=
"anchor" name=
"a2" doxytag=
"dmxgc.c::dmxInitGC" ></a><p>
373 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
376 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
378 <td class=
"md" nowrap
valign=
"top"> Bool dmxInitGC
</td>
379 <td class=
"md" valign=
"top">(
</td>
380 <td class=
"md" nowrap
valign=
"top">ScreenPtr
</td>
381 <td class=
"mdname1" valign=
"top" nowrap
> <em>pScreen
</em> </td>
382 <td class=
"md" valign=
"top"> )
</td>
383 <td class=
"md" nowrap
></td>
390 <table cellspacing=
5 cellpadding=
0 border=
0>
398 Initialize the GC on
<em>pScreen
</em>, which currently involves allocating the GC private associated with this screen.
</td>
401 <a class=
"anchor" name=
"a5" doxytag=
"dmxgc.c::dmxValidateGC" ></a><p>
402 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
405 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
407 <td class=
"md" nowrap
valign=
"top"> void dmxValidateGC
</td>
408 <td class=
"md" valign=
"top">(
</td>
409 <td class=
"md" nowrap
valign=
"top">GCPtr
</td>
410 <td class=
"mdname" nowrap
> <em>pGC
</em>,
</td>
415 <td class=
"md" nowrap
>unsigned long
</td>
416 <td class=
"mdname" nowrap
> <em>changes
</em>,
</td>
421 <td class=
"md" nowrap
>DrawablePtr
</td>
422 <td class=
"mdname" nowrap
> <em>pDrawable
</em></td>
426 <td class=
"md">)
</td>
427 <td class=
"md" colspan=
"2"></td>
434 <table cellspacing=
5 cellpadding=
0 border=
0>
442 Validate a graphics context,
<em>pGC
</em>, locally in the DMX server and recompute the composite clip, if necessary.
</td>
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>