~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/dmx/doc/html/dmxpict_8h-source.html

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>dmxpict.h</h1><a href="dmxpict_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/* $XFree86$ */</span>
 
12
00002 <span class="comment">/*</span>
 
13
00003 <span class="comment"> * Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.</span>
 
14
00004 <span class="comment"> *</span>
 
15
00005 <span class="comment"> * All Rights Reserved.</span>
 
16
00006 <span class="comment"> *</span>
 
17
00007 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining</span>
 
18
00008 <span class="comment"> * a copy of this software and associated documentation files (the</span>
 
19
00009 <span class="comment"> * "Software"), to deal in the Software without restriction, including</span>
 
20
00010 <span class="comment"> * without limitation on the rights to use, copy, modify, merge,</span>
 
21
00011 <span class="comment"> * publish, distribute, sublicense, and/or sell copies of the Software,</span>
 
22
00012 <span class="comment"> * and to permit persons to whom the Software is furnished to do so,</span>
 
23
00013 <span class="comment"> * subject to the following conditions:</span>
 
24
00014 <span class="comment"> *</span>
 
25
00015 <span class="comment"> * The above copyright notice and this permission notice (including the</span>
 
26
00016 <span class="comment"> * next paragraph) shall be included in all copies or substantial</span>
 
27
00017 <span class="comment"> * portions of the Software.</span>
 
28
00018 <span class="comment"> *</span>
 
29
00019 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,</span>
 
30
00020 <span class="comment"> * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF</span>
 
31
00021 <span class="comment"> * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND</span>
 
32
00022 <span class="comment"> * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS</span>
 
33
00023 <span class="comment"> * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN</span>
 
34
00024 <span class="comment"> * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span>
 
35
00025 <span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE</span>
 
36
00026 <span class="comment"> * SOFTWARE.</span>
 
37
00027 <span class="comment"> */</span>
 
38
00028 
 
39
00029 <span class="comment">/*</span>
 
40
00030 <span class="comment"> * Authors:</span>
 
41
00031 <span class="comment"> *   Kevin E. Martin &lt;kem@redhat.com&gt;</span>
 
42
00032 <span class="comment"> *</span>
 
43
00033 <span class="comment"> */</span>
 
44
00034 
 
45
00042 <span class="preprocessor">#ifndef DMXPICT_H</span>
 
46
00043 <span class="preprocessor"></span><span class="preprocessor">#define DMXPICT_H</span>
 
47
00044 <span class="preprocessor"></span>
 
48
<a name="l00046"></a><a class="code" href="struct__dmxPictPriv.html">00046</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__dmxPictPriv.html">_dmxPictPriv</a> {
 
49
<a name="l00047"></a><a class="code" href="struct__dmxPictPriv.html#o0">00047</a>     Picture  <a class="code" href="struct__dmxPictPriv.html#o0">pict</a>;              
 
50
<a name="l00048"></a><a class="code" href="struct__dmxPictPriv.html#o1">00048</a>     Mask     <a class="code" href="struct__dmxPictPriv.html#o1">savedMask</a>;         
 
51
00050 } <a class="code" href="struct__dmxPictPriv.html">dmxPictPrivRec</a>, *<a class="code" href="struct__dmxPictPriv.html">dmxPictPrivPtr</a>;
 
52
00051 
 
53
00052 
 
54
<a name="l00054"></a><a class="code" href="struct__dmxGlyphPriv.html">00054</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__dmxGlyphPriv.html">_dmxGlyphPriv</a> {
 
55
<a name="l00055"></a><a class="code" href="struct__dmxGlyphPriv.html#o0">00055</a>     GlyphSet  *<a class="code" href="struct__dmxGlyphPriv.html#o0">glyphSets</a>; 
 
56
00056 } <a class="code" href="struct__dmxGlyphPriv.html">dmxGlyphPrivRec</a>, *<a class="code" href="struct__dmxGlyphPriv.html">dmxGlyphPrivPtr</a>;
 
57
00057 
 
58
00058 
 
59
00059 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a12">dmxInitRender</a>(<span class="keywordtype">void</span>);
 
60
00060 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a13">dmxResetRender</a>(<span class="keywordtype">void</span>);
 
61
00061 
 
62
00062 <span class="keyword">extern</span> Bool <a class="code" href="dmxpict_8c.html#a14">dmxPictureInit</a>(ScreenPtr pScreen,
 
63
00063                            PictFormatPtr formats, <span class="keywordtype">int</span> nformats);
 
64
00064 
 
65
00065 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a18">dmxCreatePictureList</a>(WindowPtr pWindow);
 
66
00066 <span class="keyword">extern</span> Bool <a class="code" href="dmxpict_8c.html#a21">dmxDestroyPictureList</a>(WindowPtr pWindow);
 
67
00067 
 
68
00068 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxpict_8c.html#a19">dmxCreatePicture</a>(PicturePtr pPicture);
 
69
00069 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a22">dmxDestroyPicture</a>(PicturePtr pPicture);
 
70
00070 <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxpict_8c.html#a23">dmxChangePictureClip</a>(PicturePtr pPicture, <span class="keywordtype">int</span> clipType,
 
71
00071                                 pointer value, <span class="keywordtype">int</span> n);
 
72
00072 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a24">dmxDestroyPictureClip</a>(PicturePtr pPicture);
 
73
00073 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a25">dmxChangePicture</a>(PicturePtr pPicture, Mask mask);
 
74
00074 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a26">dmxValidatePicture</a>(PicturePtr pPicture, Mask mask);
 
75
00075 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a27">dmxComposite</a>(CARD8 op,
 
76
00076                          PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst,
 
77
00077                          INT16 xSrc, INT16 ySrc,
 
78
00078                          INT16 xMask, INT16 yMask,
 
79
00079                          INT16 xDst, INT16 yDst,
 
80
00080                          CARD16 width, CARD16 height);
 
81
00081 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a28">dmxGlyphs</a>(CARD8 op,
 
82
00082                       PicturePtr pSrc, PicturePtr pDst,
 
83
00083                       PictFormatPtr maskFormat,
 
84
00084                       INT16 xSrc, INT16 ySrc,
 
85
00085                       <span class="keywordtype">int</span> nlists, GlyphListPtr lists, GlyphPtr *glyphs);
 
86
00086 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a29">dmxCompositeRects</a>(CARD8 op,
 
87
00087                               PicturePtr pDst,
 
88
00088                               xRenderColor *color,
 
89
00089                               <span class="keywordtype">int</span> nRect, xRectangle *rects);
 
90
00090 <span class="keyword">extern</span> Bool <a class="code" href="dmxpict_8c.html#a30">dmxInitIndexed</a>(ScreenPtr pScreen, PictFormatPtr pFormat);
 
91
00091 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a31">dmxCloseIndexed</a>(ScreenPtr pScreen, PictFormatPtr pFormat);
 
92
00092 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a32">dmxUpdateIndexed</a>(ScreenPtr pScreen, PictFormatPtr pFormat,
 
93
00093                              <span class="keywordtype">int</span> ndef, xColorItem *pdef);
 
94
00094 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a33">dmxTrapezoids</a>(CARD8 op,
 
95
00095                           PicturePtr pSrc, PicturePtr pDst,
 
96
00096                           PictFormatPtr maskFormat,
 
97
00097                           INT16 xSrc, INT16 ySrc,
 
98
00098                           <span class="keywordtype">int</span> ntrap, xTrapezoid *traps);
 
99
00099 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a34">dmxTriangles</a>(CARD8 op,
 
100
00100                          PicturePtr pSrc, PicturePtr pDst,
 
101
00101                          PictFormatPtr maskFormat,
 
102
00102                          INT16 xSrc, INT16 ySrc,
 
103
00103                          <span class="keywordtype">int</span> ntri, xTriangle *tris);
 
104
00104 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a35">dmxTriStrip</a>(CARD8 op,
 
105
00105                         PicturePtr pSrc, PicturePtr pDst,
 
106
00106                         PictFormatPtr maskFormat,
 
107
00107                         INT16 xSrc, INT16 ySrc,
 
108
00108                         <span class="keywordtype">int</span> npoint, xPointFixed *points);
 
109
00109 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpict_8c.html#a36">dmxTriFan</a>(CARD8 op,
 
110
00110                       PicturePtr pSrc, PicturePtr pDst,
 
111
00111                       PictFormatPtr maskFormat,
 
112
00112                       INT16 xSrc, INT16 ySrc,
 
113
00113                       <span class="keywordtype">int</span> npoint, xPointFixed *points);
 
114
00114 
 
115
00115 <span class="keyword">extern</span> Bool <a class="code" href="dmxpict_8c.html#a16">dmxBEFreeGlyphSet</a>(ScreenPtr pScreen, GlyphSetPtr glyphSet);
 
116
00116 <span class="keyword">extern</span> Bool <a class="code" href="dmxpict_8c.html#a20">dmxBEFreePicture</a>(PicturePtr pPicture);
 
117
00117 
 
118
<a name="l00118"></a><a class="code" href="dmxpict_8h.html#a7">00118</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxpict_8h.html#a7">dmxPictPrivateIndex</a>;         
 
119
<a name="l00119"></a><a class="code" href="dmxpict_8h.html#a8">00119</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxpict_8h.html#a8">dmxGlyphSetPrivateIndex</a>;     
 
120
<a name="l00123"></a><a class="code" href="dmxpict_8h.html#a0">00123</a> <span class="preprocessor">#define DMX_GET_PICT_PRIV(_pPict)                                       \</span>
 
121
00124 <span class="preprocessor">    (dmxPictPrivPtr)(_pPict)-&gt;devPrivates[dmxPictPrivateIndex].ptr</span>
 
122
00125 <span class="preprocessor"></span>
 
123
<a name="l00127"></a><a class="code" href="dmxpict_8h.html#a1">00127</a> <span class="preprocessor">#define DMX_SET_GLYPH_PRIV(_pGlyph, _pPriv)                             \</span>
 
124
00128 <span class="preprocessor">    GlyphSetSetPrivate((_pGlyph), dmxGlyphSetPrivateIndex, (_pPriv))</span>
 
125
00129 <span class="preprocessor"></span>
 
126
<a name="l00130"></a><a class="code" href="dmxpict_8h.html#a2">00130</a> <span class="preprocessor">#define DMX_GET_GLYPH_PRIV(_pGlyph)                                     \</span>
 
127
00131 <span class="preprocessor">    (dmxGlyphPrivPtr)GlyphSetGetPrivate((_pGlyph), dmxGlyphSetPrivateIndex)</span>
 
128
00132 <span class="preprocessor"></span>
 
129
00133 <span class="preprocessor">#endif </span><span class="comment">/* DMXPICT_H */</span>
 
130
</pre></div>    <hr>
 
131
    <address>
 
132
      <small>
 
133
        Generated June 29, 2004 for <a
 
134
        href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
 
135
        <a href="http://www.doxygen.org/index.html">doxygen</a>
 
136
        1.3.4.
 
137
      </small>
 
138
    </addres>
 
139
    </hr>
 
140
  </body>
 
141
</html>