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>dmxpict.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="dmxpict_8h-source.html
">dmxpict.h</a>"</code><br>
14 <code>#include
"<a class="el
" href="dmxwindow_8h-source.html
">dmxwindow.h</a>"</code><br>
15 <code>#include
"<a class="el
" href="dmxpixmap_8h-source.html
">dmxpixmap.h</a>"</code><br>
16 <code>#include
"fb.h"</code><br>
17 <code>#include
"pixmapstr.h"</code><br>
18 <code>#include
"dixstruct.h"</code><br>
19 <code>#include
"render.h"</code><br>
20 <code>#include
"renderproto.h"</code><br>
21 <code>#include
"picture.h"</code><br>
22 <code>#include
"picturestr.h"</code><br>
23 <code>#include
"mipict.h"</code><br>
24 <code>#include
"fbpict.h"</code><br>
25 <table border=
0 cellpadding=
0 cellspacing=
0>
27 <tr><td colspan=
2><br><h2>Functions
</h2></td></tr>
28 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a12">dmxInitRender
</a> (void)
</td></tr>
30 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a13">dmxResetRender
</a> (void)
</td></tr>
32 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a14">dmxPictureInit
</a> (ScreenPtr pScreen, PictFormatPtr formats, int nformats)
</td></tr>
34 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a16">dmxBEFreeGlyphSet
</a> (ScreenPtr pScreen, GlyphSetPtr glyphSet)
</td></tr>
36 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a18">dmxCreatePictureList
</a> (WindowPtr pWindow)
</td></tr>
38 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a19">dmxCreatePicture
</a> (PicturePtr pPicture)
</td></tr>
40 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a20">dmxBEFreePicture
</a> (PicturePtr pPicture)
</td></tr>
42 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a21">dmxDestroyPictureList
</a> (WindowPtr pWindow)
</td></tr>
44 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a22">dmxDestroyPicture
</a> (PicturePtr pPicture)
</td></tr>
46 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>int
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a23">dmxChangePictureClip
</a> (PicturePtr pPicture, int clipType, pointer value, int n)
</td></tr>
48 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a24">dmxDestroyPictureClip
</a> (PicturePtr pPicture)
</td></tr>
50 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a25">dmxChangePicture
</a> (PicturePtr pPicture, Mask mask)
</td></tr>
52 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a26">dmxValidatePicture
</a> (PicturePtr pPicture, Mask mask)
</td></tr>
54 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a27">dmxComposite
</a> (CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, INT16 xSrc, INT16 ySrc, INT16 xMask, INT16 yMask, INT16 xDst, INT16 yDst, CARD16 width, CARD16 height)
</td></tr>
56 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a28">dmxGlyphs
</a> (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int nlists, GlyphListPtr lists, GlyphPtr *glyphs)
</td></tr>
58 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a29">dmxCompositeRects
</a> (CARD8 op, PicturePtr pDst, xRenderColor *color, int nRect, xRectangle *rects)
</td></tr>
60 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>Bool
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a30">dmxInitIndexed
</a> (ScreenPtr pScreen, PictFormatPtr pFormat)
</td></tr>
62 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a31">dmxCloseIndexed
</a> (ScreenPtr pScreen, PictFormatPtr pFormat)
</td></tr>
64 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a32">dmxUpdateIndexed
</a> (ScreenPtr pScreen, PictFormatPtr pFormat, int ndef, xColorItem *pdef)
</td></tr>
66 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a33">dmxTrapezoids
</a> (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntrap, xTrapezoid *traps)
</td></tr>
68 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a34">dmxTriangles
</a> (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int ntri, xTriangle *tris)
</td></tr>
70 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a35">dmxTriStrip
</a> (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points)
</td></tr>
72 <tr><td class=
"memItemLeft" nowrap align=right valign=top
>void
</td><td class=
"memItemRight" valign=bottom
><a class=
"el" href=
"dmxpict_8c.html#a36">dmxTriFan
</a> (CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int npoint, xPointFixed *points)
</td></tr>
75 <hr><a name=
"_details"></a><h2>Detailed Description
</h2>
76 Provide support for the RENDER extension (version
0.8).
<hr><h2>Function Documentation
</h2>
77 <a class=
"anchor" name=
"a16" doxytag=
"dmxpict.c::dmxBEFreeGlyphSet" ></a><p>
78 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
81 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
83 <td class=
"md" nowrap
valign=
"top"> Bool dmxBEFreeGlyphSet
</td>
84 <td class=
"md" valign=
"top">(
</td>
85 <td class=
"md" nowrap
valign=
"top">ScreenPtr
</td>
86 <td class=
"mdname" nowrap
> <em>pScreen
</em>,
</td>
91 <td class=
"md" nowrap
>GlyphSetPtr
</td>
92 <td class=
"mdname" nowrap
> <em>glyphSet
</em></td>
96 <td class=
"md">)
</td>
97 <td class=
"md" colspan=
"2"></td>
104 <table cellspacing=
5 cellpadding=
0 border=
0>
112 Free
<em>glyphSet
</em> on back-end screen number
<em>idx
</em>.
</td>
115 <a class=
"anchor" name=
"a20" doxytag=
"dmxpict.c::dmxBEFreePicture" ></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"> Bool dmxBEFreePicture
</td>
122 <td class=
"md" valign=
"top">(
</td>
123 <td class=
"md" nowrap
valign=
"top">PicturePtr
</td>
124 <td class=
"mdname1" valign=
"top" nowrap
> <em>pPicture
</em> </td>
125 <td class=
"md" valign=
"top"> )
</td>
126 <td class=
"md" nowrap
></td>
133 <table cellspacing=
5 cellpadding=
0 border=
0>
141 Destroy
<em>pPicture
</em> on the back-end server.
</td>
144 <a class=
"anchor" name=
"a25" doxytag=
"dmxpict.c::dmxChangePicture" ></a><p>
145 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
148 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
150 <td class=
"md" nowrap
valign=
"top"> void dmxChangePicture
</td>
151 <td class=
"md" valign=
"top">(
</td>
152 <td class=
"md" nowrap
valign=
"top">PicturePtr
</td>
153 <td class=
"mdname" nowrap
> <em>pPicture
</em>,
</td>
158 <td class=
"md" nowrap
>Mask
</td>
159 <td class=
"mdname" nowrap
> <em>mask
</em></td>
163 <td class=
"md">)
</td>
164 <td class=
"md" colspan=
"2"></td>
171 <table cellspacing=
5 cellpadding=
0 border=
0>
179 Change the attributes of the pictures. If the picture has not yet been created due to lazy window creation, save the mask so that it can be used to appropriately initialize the picture's attributes when it is created later.
</td>
182 <a class=
"anchor" name=
"a23" doxytag=
"dmxpict.c::dmxChangePictureClip" ></a><p>
183 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
186 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
188 <td class=
"md" nowrap
valign=
"top"> int dmxChangePictureClip
</td>
189 <td class=
"md" valign=
"top">(
</td>
190 <td class=
"md" nowrap
valign=
"top">PicturePtr
</td>
191 <td class=
"mdname" nowrap
> <em>pPicture
</em>,
</td>
196 <td class=
"md" nowrap
>int
</td>
197 <td class=
"mdname" nowrap
> <em>clipType
</em>,
</td>
202 <td class=
"md" nowrap
>pointer
</td>
203 <td class=
"mdname" nowrap
> <em>value
</em>,
</td>
208 <td class=
"md" nowrap
>int
</td>
209 <td class=
"mdname" nowrap
> <em>n
</em></td>
213 <td class=
"md">)
</td>
214 <td class=
"md" colspan=
"2"></td>
221 <table cellspacing=
5 cellpadding=
0 border=
0>
229 Change the picture's list of clip rectangles.
</td>
232 <a class=
"anchor" name=
"a31" doxytag=
"dmxpict.c::dmxCloseIndexed" ></a><p>
233 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
236 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
238 <td class=
"md" nowrap
valign=
"top"> void dmxCloseIndexed
</td>
239 <td class=
"md" valign=
"top">(
</td>
240 <td class=
"md" nowrap
valign=
"top">ScreenPtr
</td>
241 <td class=
"mdname" nowrap
> <em>pScreen
</em>,
</td>
246 <td class=
"md" nowrap
>PictFormatPtr
</td>
247 <td class=
"mdname" nowrap
> <em>pFormat
</em></td>
251 <td class=
"md">)
</td>
252 <td class=
"md" colspan=
"2"></td>
259 <table cellspacing=
5 cellpadding=
0 border=
0>
267 Indexed color visuals are not yet supported.
</td>
270 <a class=
"anchor" name=
"a27" doxytag=
"dmxpict.c::dmxComposite" ></a><p>
271 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
274 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
276 <td class=
"md" nowrap
valign=
"top"> void dmxComposite
</td>
277 <td class=
"md" valign=
"top">(
</td>
278 <td class=
"md" nowrap
valign=
"top">CARD8
</td>
279 <td class=
"mdname" nowrap
> <em>op
</em>,
</td>
284 <td class=
"md" nowrap
>PicturePtr
</td>
285 <td class=
"mdname" nowrap
> <em>pSrc
</em>,
</td>
290 <td class=
"md" nowrap
>PicturePtr
</td>
291 <td class=
"mdname" nowrap
> <em>pMask
</em>,
</td>
296 <td class=
"md" nowrap
>PicturePtr
</td>
297 <td class=
"mdname" nowrap
> <em>pDst
</em>,
</td>
302 <td class=
"md" nowrap
>INT16
</td>
303 <td class=
"mdname" nowrap
> <em>xSrc
</em>,
</td>
308 <td class=
"md" nowrap
>INT16
</td>
309 <td class=
"mdname" nowrap
> <em>ySrc
</em>,
</td>
314 <td class=
"md" nowrap
>INT16
</td>
315 <td class=
"mdname" nowrap
> <em>xMask
</em>,
</td>
320 <td class=
"md" nowrap
>INT16
</td>
321 <td class=
"mdname" nowrap
> <em>yMask
</em>,
</td>
326 <td class=
"md" nowrap
>INT16
</td>
327 <td class=
"mdname" nowrap
> <em>xDst
</em>,
</td>
332 <td class=
"md" nowrap
>INT16
</td>
333 <td class=
"mdname" nowrap
> <em>yDst
</em>,
</td>
338 <td class=
"md" nowrap
>CARD16
</td>
339 <td class=
"mdname" nowrap
> <em>width
</em>,
</td>
344 <td class=
"md" nowrap
>CARD16
</td>
345 <td class=
"mdname" nowrap
> <em>height
</em></td>
349 <td class=
"md">)
</td>
350 <td class=
"md" colspan=
"2"></td>
357 <table cellspacing=
5 cellpadding=
0 border=
0>
365 Composite a picture on the appropriate screen by combining the specified rectangle of the transformed src and mask operands with the specified rectangle of the dst using op as the compositing operator. For a complete description see the protocol document of the RENDER library.
</td>
368 <a class=
"anchor" name=
"a29" doxytag=
"dmxpict.c::dmxCompositeRects" ></a><p>
369 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
372 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
374 <td class=
"md" nowrap
valign=
"top"> void dmxCompositeRects
</td>
375 <td class=
"md" valign=
"top">(
</td>
376 <td class=
"md" nowrap
valign=
"top">CARD8
</td>
377 <td class=
"mdname" nowrap
> <em>op
</em>,
</td>
382 <td class=
"md" nowrap
>PicturePtr
</td>
383 <td class=
"mdname" nowrap
> <em>pDst
</em>,
</td>
388 <td class=
"md" nowrap
>xRenderColor *
</td>
389 <td class=
"mdname" nowrap
> <em>color
</em>,
</td>
394 <td class=
"md" nowrap
>int
</td>
395 <td class=
"mdname" nowrap
> <em>nRect
</em>,
</td>
400 <td class=
"md" nowrap
>xRectangle *
</td>
401 <td class=
"mdname" nowrap
> <em>rects
</em></td>
405 <td class=
"md">)
</td>
406 <td class=
"md" colspan=
"2"></td>
413 <table cellspacing=
5 cellpadding=
0 border=
0>
421 Fill a rectangle on the appropriate screen by combining the color with the dest picture in the area specified by the list of rectangles. For a complete description see the protocol document of the RENDER library.
</td>
424 <a class=
"anchor" name=
"a19" doxytag=
"dmxpict.c::dmxCreatePicture" ></a><p>
425 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
428 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
430 <td class=
"md" nowrap
valign=
"top"> int dmxCreatePicture
</td>
431 <td class=
"md" valign=
"top">(
</td>
432 <td class=
"md" nowrap
valign=
"top">PicturePtr
</td>
433 <td class=
"mdname1" valign=
"top" nowrap
> <em>pPicture
</em> </td>
434 <td class=
"md" valign=
"top"> )
</td>
435 <td class=
"md" nowrap
></td>
442 <table cellspacing=
5 cellpadding=
0 border=
0>
450 Create a picture. This function handles the CreatePicture unwrapping/wrapping and calls dmxDoCreatePicture to actually create the picture on the appropriate screen.
</td>
453 <a class=
"anchor" name=
"a18" doxytag=
"dmxpict.c::dmxCreatePictureList" ></a><p>
454 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
457 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
459 <td class=
"md" nowrap
valign=
"top"> void dmxCreatePictureList
</td>
460 <td class=
"md" valign=
"top">(
</td>
461 <td class=
"md" nowrap
valign=
"top">WindowPtr
</td>
462 <td class=
"mdname1" valign=
"top" nowrap
> <em>pWindow
</em> </td>
463 <td class=
"md" valign=
"top"> )
</td>
464 <td class=
"md" nowrap
></td>
471 <table cellspacing=
5 cellpadding=
0 border=
0>
479 Create a list of pictures. This function is called by
<a class=
"el" href=
"dmxwindow_8c.html#a9">dmxCreateAndRealizeWindow()
</a> during the lazy window creation realization process. It creates the entire list of pictures that are associated with the given window.
</td>
482 <a class=
"anchor" name=
"a22" doxytag=
"dmxpict.c::dmxDestroyPicture" ></a><p>
483 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
486 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
488 <td class=
"md" nowrap
valign=
"top"> void dmxDestroyPicture
</td>
489 <td class=
"md" valign=
"top">(
</td>
490 <td class=
"md" nowrap
valign=
"top">PicturePtr
</td>
491 <td class=
"mdname1" valign=
"top" nowrap
> <em>pPicture
</em> </td>
492 <td class=
"md" valign=
"top"> )
</td>
493 <td class=
"md" nowrap
></td>
500 <table cellspacing=
5 cellpadding=
0 border=
0>
508 Destroy a picture. This function calls the wrapped function that frees the resources in the DMX server associated with this picture.
</td>
511 <a class=
"anchor" name=
"a24" doxytag=
"dmxpict.c::dmxDestroyPictureClip" ></a><p>
512 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
515 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
517 <td class=
"md" nowrap
valign=
"top"> void dmxDestroyPictureClip
</td>
518 <td class=
"md" valign=
"top">(
</td>
519 <td class=
"md" nowrap
valign=
"top">PicturePtr
</td>
520 <td class=
"mdname1" valign=
"top" nowrap
> <em>pPicture
</em> </td>
521 <td class=
"md" valign=
"top"> )
</td>
522 <td class=
"md" nowrap
></td>
529 <table cellspacing=
5 cellpadding=
0 border=
0>
537 Destroy the picture's list of clip rectangles.
</td>
540 <a class=
"anchor" name=
"a21" doxytag=
"dmxpict.c::dmxDestroyPictureList" ></a><p>
541 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
544 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
546 <td class=
"md" nowrap
valign=
"top"> Bool dmxDestroyPictureList
</td>
547 <td class=
"md" valign=
"top">(
</td>
548 <td class=
"md" nowrap
valign=
"top">WindowPtr
</td>
549 <td class=
"mdname1" valign=
"top" nowrap
> <em>pWindow
</em> </td>
550 <td class=
"md" valign=
"top"> )
</td>
551 <td class=
"md" nowrap
></td>
558 <table cellspacing=
5 cellpadding=
0 border=
0>
566 Destroy a list of pictures that are associated with the window that is being destroyed. This function is called by
<a class=
"el" href=
"dmxwindow_8c.html#a12">dmxDestroyWindow()
</a>.
</td>
569 <a class=
"anchor" name=
"a28" doxytag=
"dmxpict.c::dmxGlyphs" ></a><p>
570 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
573 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
575 <td class=
"md" nowrap
valign=
"top"> void dmxGlyphs
</td>
576 <td class=
"md" valign=
"top">(
</td>
577 <td class=
"md" nowrap
valign=
"top">CARD8
</td>
578 <td class=
"mdname" nowrap
> <em>op
</em>,
</td>
583 <td class=
"md" nowrap
>PicturePtr
</td>
584 <td class=
"mdname" nowrap
> <em>pSrc
</em>,
</td>
589 <td class=
"md" nowrap
>PicturePtr
</td>
590 <td class=
"mdname" nowrap
> <em>pDst
</em>,
</td>
595 <td class=
"md" nowrap
>PictFormatPtr
</td>
596 <td class=
"mdname" nowrap
> <em>maskFormat
</em>,
</td>
601 <td class=
"md" nowrap
>INT16
</td>
602 <td class=
"mdname" nowrap
> <em>xSrc
</em>,
</td>
607 <td class=
"md" nowrap
>INT16
</td>
608 <td class=
"mdname" nowrap
> <em>ySrc
</em>,
</td>
613 <td class=
"md" nowrap
>int
</td>
614 <td class=
"mdname" nowrap
> <em>nlists
</em>,
</td>
619 <td class=
"md" nowrap
>GlyphListPtr
</td>
620 <td class=
"mdname" nowrap
> <em>lists
</em>,
</td>
625 <td class=
"md" nowrap
>GlyphPtr *
</td>
626 <td class=
"mdname" nowrap
> <em>glyphs
</em></td>
630 <td class=
"md">)
</td>
631 <td class=
"md" colspan=
"2"></td>
638 <table cellspacing=
5 cellpadding=
0 border=
0>
646 Null function to catch when/if RENDER calls lower level mi hooks. Compositing glyphs is handled by
<a class=
"el" href=
"dmxpict_8c.html#a8">dmxProcRenderCompositeGlyphs()
</a>. This function should never be called.
</td>
649 <a class=
"anchor" name=
"a30" doxytag=
"dmxpict.c::dmxInitIndexed" ></a><p>
650 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
653 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
655 <td class=
"md" nowrap
valign=
"top"> Bool dmxInitIndexed
</td>
656 <td class=
"md" valign=
"top">(
</td>
657 <td class=
"md" nowrap
valign=
"top">ScreenPtr
</td>
658 <td class=
"mdname" nowrap
> <em>pScreen
</em>,
</td>
663 <td class=
"md" nowrap
>PictFormatPtr
</td>
664 <td class=
"mdname" nowrap
> <em>pFormat
</em></td>
668 <td class=
"md">)
</td>
669 <td class=
"md" colspan=
"2"></td>
676 <table cellspacing=
5 cellpadding=
0 border=
0>
684 Indexed color visuals are not yet supported.
</td>
687 <a class=
"anchor" name=
"a12" doxytag=
"dmxpict.c::dmxInitRender" ></a><p>
688 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
691 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
693 <td class=
"md" nowrap
valign=
"top"> void dmxInitRender
</td>
694 <td class=
"md" valign=
"top">(
</td>
695 <td class=
"md" nowrap
valign=
"top">void
</td>
696 <td class=
"mdname1" valign=
"top" nowrap
> </td>
697 <td class=
"md" valign=
"top"> )
</td>
698 <td class=
"md" nowrap
></td>
705 <table cellspacing=
5 cellpadding=
0 border=
0>
713 Initialize the Proc Vector for the RENDER extension. The functions here cannot be handled by the mi layer RENDER hooks either because the required information is no longer available when it reaches the mi layer or no mi layer hooks exist. This function is called from
<a class=
"el" href=
"dmxinit_8c.html#a34">InitOutput()
</a> since it should be initialized only once per server generation.
</td>
716 <a class=
"anchor" name=
"a14" doxytag=
"dmxpict.c::dmxPictureInit" ></a><p>
717 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
720 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
722 <td class=
"md" nowrap
valign=
"top"> Bool dmxPictureInit
</td>
723 <td class=
"md" valign=
"top">(
</td>
724 <td class=
"md" nowrap
valign=
"top">ScreenPtr
</td>
725 <td class=
"mdname" nowrap
> <em>pScreen
</em>,
</td>
730 <td class=
"md" nowrap
>PictFormatPtr
</td>
731 <td class=
"mdname" nowrap
> <em>formats
</em>,
</td>
736 <td class=
"md" nowrap
>int
</td>
737 <td class=
"mdname" nowrap
> <em>nformats
</em></td>
741 <td class=
"md">)
</td>
742 <td class=
"md" colspan=
"2"></td>
749 <table cellspacing=
5 cellpadding=
0 border=
0>
757 Initialize the RENDER extension, allocate the picture privates and wrap mi function hooks. If the shadow frame buffer is used, then call the appropriate fb initialization function.
</td>
760 <a class=
"anchor" name=
"a13" doxytag=
"dmxpict.c::dmxResetRender" ></a><p>
761 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
764 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
766 <td class=
"md" nowrap
valign=
"top"> void dmxResetRender
</td>
767 <td class=
"md" valign=
"top">(
</td>
768 <td class=
"md" nowrap
valign=
"top">void
</td>
769 <td class=
"mdname1" valign=
"top" nowrap
> </td>
770 <td class=
"md" valign=
"top"> )
</td>
771 <td class=
"md" nowrap
></td>
778 <table cellspacing=
5 cellpadding=
0 border=
0>
786 Reset the Proc Vector for the RENDER extension back to the original functions. This function is called from
<a class=
"el" href=
"dmxscrinit_8c.html#a9">dmxCloseScreen()
</a> during the server reset (only for screen #
0).
</td>
789 <a class=
"anchor" name=
"a33" doxytag=
"dmxpict.c::dmxTrapezoids" ></a><p>
790 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
793 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
795 <td class=
"md" nowrap
valign=
"top"> void dmxTrapezoids
</td>
796 <td class=
"md" valign=
"top">(
</td>
797 <td class=
"md" nowrap
valign=
"top">CARD8
</td>
798 <td class=
"mdname" nowrap
> <em>op
</em>,
</td>
803 <td class=
"md" nowrap
>PicturePtr
</td>
804 <td class=
"mdname" nowrap
> <em>pSrc
</em>,
</td>
809 <td class=
"md" nowrap
>PicturePtr
</td>
810 <td class=
"mdname" nowrap
> <em>pDst
</em>,
</td>
815 <td class=
"md" nowrap
>PictFormatPtr
</td>
816 <td class=
"mdname" nowrap
> <em>maskFormat
</em>,
</td>
821 <td class=
"md" nowrap
>INT16
</td>
822 <td class=
"mdname" nowrap
> <em>xSrc
</em>,
</td>
827 <td class=
"md" nowrap
>INT16
</td>
828 <td class=
"mdname" nowrap
> <em>ySrc
</em>,
</td>
833 <td class=
"md" nowrap
>int
</td>
834 <td class=
"mdname" nowrap
> <em>ntrap
</em>,
</td>
839 <td class=
"md" nowrap
>xTrapezoid *
</td>
840 <td class=
"mdname" nowrap
> <em>traps
</em></td>
844 <td class=
"md">)
</td>
845 <td class=
"md" colspan=
"2"></td>
852 <table cellspacing=
5 cellpadding=
0 border=
0>
860 Composite a list of trapezoids on the appropriate screen. For a complete description see the protocol document of the RENDER library.
</td>
863 <a class=
"anchor" name=
"a34" doxytag=
"dmxpict.c::dmxTriangles" ></a><p>
864 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
867 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
869 <td class=
"md" nowrap
valign=
"top"> void dmxTriangles
</td>
870 <td class=
"md" valign=
"top">(
</td>
871 <td class=
"md" nowrap
valign=
"top">CARD8
</td>
872 <td class=
"mdname" nowrap
> <em>op
</em>,
</td>
877 <td class=
"md" nowrap
>PicturePtr
</td>
878 <td class=
"mdname" nowrap
> <em>pSrc
</em>,
</td>
883 <td class=
"md" nowrap
>PicturePtr
</td>
884 <td class=
"mdname" nowrap
> <em>pDst
</em>,
</td>
889 <td class=
"md" nowrap
>PictFormatPtr
</td>
890 <td class=
"mdname" nowrap
> <em>maskFormat
</em>,
</td>
895 <td class=
"md" nowrap
>INT16
</td>
896 <td class=
"mdname" nowrap
> <em>xSrc
</em>,
</td>
901 <td class=
"md" nowrap
>INT16
</td>
902 <td class=
"mdname" nowrap
> <em>ySrc
</em>,
</td>
907 <td class=
"md" nowrap
>int
</td>
908 <td class=
"mdname" nowrap
> <em>ntri
</em>,
</td>
913 <td class=
"md" nowrap
>xTriangle *
</td>
914 <td class=
"mdname" nowrap
> <em>tris
</em></td>
918 <td class=
"md">)
</td>
919 <td class=
"md" colspan=
"2"></td>
926 <table cellspacing=
5 cellpadding=
0 border=
0>
934 Composite a list of triangles on the appropriate screen. For a complete description see the protocol document of the RENDER library.
</td>
937 <a class=
"anchor" name=
"a36" doxytag=
"dmxpict.c::dmxTriFan" ></a><p>
938 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
941 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
943 <td class=
"md" nowrap
valign=
"top"> void dmxTriFan
</td>
944 <td class=
"md" valign=
"top">(
</td>
945 <td class=
"md" nowrap
valign=
"top">CARD8
</td>
946 <td class=
"mdname" nowrap
> <em>op
</em>,
</td>
951 <td class=
"md" nowrap
>PicturePtr
</td>
952 <td class=
"mdname" nowrap
> <em>pSrc
</em>,
</td>
957 <td class=
"md" nowrap
>PicturePtr
</td>
958 <td class=
"mdname" nowrap
> <em>pDst
</em>,
</td>
963 <td class=
"md" nowrap
>PictFormatPtr
</td>
964 <td class=
"mdname" nowrap
> <em>maskFormat
</em>,
</td>
969 <td class=
"md" nowrap
>INT16
</td>
970 <td class=
"mdname" nowrap
> <em>xSrc
</em>,
</td>
975 <td class=
"md" nowrap
>INT16
</td>
976 <td class=
"mdname" nowrap
> <em>ySrc
</em>,
</td>
981 <td class=
"md" nowrap
>int
</td>
982 <td class=
"mdname" nowrap
> <em>npoint
</em>,
</td>
987 <td class=
"md" nowrap
>xPointFixed *
</td>
988 <td class=
"mdname" nowrap
> <em>points
</em></td>
992 <td class=
"md">)
</td>
993 <td class=
"md" colspan=
"2"></td>
1000 <table cellspacing=
5 cellpadding=
0 border=
0>
1008 Composite a triangle fan on the appropriate screen. For a complete description see the protocol document of the RENDER library.
</td>
1011 <a class=
"anchor" name=
"a35" doxytag=
"dmxpict.c::dmxTriStrip" ></a><p>
1012 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
1015 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
1017 <td class=
"md" nowrap
valign=
"top"> void dmxTriStrip
</td>
1018 <td class=
"md" valign=
"top">(
</td>
1019 <td class=
"md" nowrap
valign=
"top">CARD8
</td>
1020 <td class=
"mdname" nowrap
> <em>op
</em>,
</td>
1025 <td class=
"md" nowrap
>PicturePtr
</td>
1026 <td class=
"mdname" nowrap
> <em>pSrc
</em>,
</td>
1031 <td class=
"md" nowrap
>PicturePtr
</td>
1032 <td class=
"mdname" nowrap
> <em>pDst
</em>,
</td>
1037 <td class=
"md" nowrap
>PictFormatPtr
</td>
1038 <td class=
"mdname" nowrap
> <em>maskFormat
</em>,
</td>
1043 <td class=
"md" nowrap
>INT16
</td>
1044 <td class=
"mdname" nowrap
> <em>xSrc
</em>,
</td>
1049 <td class=
"md" nowrap
>INT16
</td>
1050 <td class=
"mdname" nowrap
> <em>ySrc
</em>,
</td>
1055 <td class=
"md" nowrap
>int
</td>
1056 <td class=
"mdname" nowrap
> <em>npoint
</em>,
</td>
1061 <td class=
"md" nowrap
>xPointFixed *
</td>
1062 <td class=
"mdname" nowrap
> <em>points
</em></td>
1066 <td class=
"md">)
</td>
1067 <td class=
"md" colspan=
"2"></td>
1074 <table cellspacing=
5 cellpadding=
0 border=
0>
1082 Composite a triangle strip on the appropriate screen. For a complete description see the protocol document of the RENDER library.
</td>
1085 <a class=
"anchor" name=
"a32" doxytag=
"dmxpict.c::dmxUpdateIndexed" ></a><p>
1086 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
1089 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
1091 <td class=
"md" nowrap
valign=
"top"> void dmxUpdateIndexed
</td>
1092 <td class=
"md" valign=
"top">(
</td>
1093 <td class=
"md" nowrap
valign=
"top">ScreenPtr
</td>
1094 <td class=
"mdname" nowrap
> <em>pScreen
</em>,
</td>
1099 <td class=
"md" nowrap
>PictFormatPtr
</td>
1100 <td class=
"mdname" nowrap
> <em>pFormat
</em>,
</td>
1105 <td class=
"md" nowrap
>int
</td>
1106 <td class=
"mdname" nowrap
> <em>ndef
</em>,
</td>
1111 <td class=
"md" nowrap
>xColorItem *
</td>
1112 <td class=
"mdname" nowrap
> <em>pdef
</em></td>
1116 <td class=
"md">)
</td>
1117 <td class=
"md" colspan=
"2"></td>
1124 <table cellspacing=
5 cellpadding=
0 border=
0>
1132 Indexed color visuals are not yet supported.
</td>
1135 <a class=
"anchor" name=
"a26" doxytag=
"dmxpict.c::dmxValidatePicture" ></a><p>
1136 <table class=
"mdTable" width=
"100%" cellpadding=
"2" cellspacing=
"0">
1139 <table cellpadding=
"0" cellspacing=
"0" border=
"0">
1141 <td class=
"md" nowrap
valign=
"top"> void dmxValidatePicture
</td>
1142 <td class=
"md" valign=
"top">(
</td>
1143 <td class=
"md" nowrap
valign=
"top">PicturePtr
</td>
1144 <td class=
"mdname" nowrap
> <em>pPicture
</em>,
</td>
1149 <td class=
"md" nowrap
>Mask
</td>
1150 <td class=
"mdname" nowrap
> <em>mask
</em></td>
1154 <td class=
"md">)
</td>
1155 <td class=
"md" colspan=
"2"></td>
1162 <table cellspacing=
5 cellpadding=
0 border=
0>
1170 Validate the picture's attributes before rendering to it. Update any picture attributes that have been changed by one of the higher layers.
</td>
1176 Generated June
29,
2004 for
<a
1177 href=
"http://dmx.sourceforge.net">Distributed Multihead X
</a> by
1178 <a href=
"http://www.doxygen.org/index.html">doxygen
</a>