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.7.1 -->
10 <div class="navigation" id="top">
13 <li><a href="main.html"><span>Main Page</span></a></li>
14 <li><a href="annotated.html"><span>Data Structures</span></a></li>
15 <li class="current"><a href="files.html"><span>Files</span></a></li>
20 <li><a href="files.html"><span>File List</span></a></li>
21 <li><a href="globals.html"><span>Globals</span></a></li>
27 <a href="#func-members">Functions</a> </div>
28 <div class="headertitle">
29 <h1>dmxpixmap.c File Reference</h1> </div>
31 <div class="contents">
32 <code>#include "<a class="el" href="dmx_8h_source.html">dmx.h</a>"</code><br/>
33 <code>#include "<a class="el" href="dmxsync_8h_source.html">dmxsync.h</a>"</code><br/>
34 <code>#include "<a class="el" href="dmxpixmap_8h_source.html">dmxpixmap.h</a>"</code><br/>
35 <code>#include "pixmapstr.h"</code><br/>
36 <code>#include "servermd.h"</code><br/>
37 <code>#include "privates.h"</code><br/>
38 <table class="memberdecls">
39 <tr><td colspan="2"><h2><a name="func-members"></a>
40 Functions</h2></td></tr>
41 <tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#aacf02a6e5ba85a356f09f66159e71a75">dmxInitPixmap</a> (ScreenPtr pScreen)</td></tr>
42 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#ab785500b50aa10eb1d76274688413770">dmxBECreatePixmap</a> (PixmapPtr pPixmap)</td></tr>
43 <tr><td class="memItemLeft" align="right" valign="top">PixmapPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#a9d26c08a4286c663250f61e63ffa3343">dmxCreatePixmap</a> (ScreenPtr pScreen, int width, int height, int depth, unsigned usage_hint)</td></tr>
44 <tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#aa930f04f91d83243d3e6224f911bf9e8">dmxBEFreePixmap</a> (PixmapPtr pPixmap)</td></tr>
45 <tr><td class="memItemLeft" align="right" valign="top">Bool </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#a7c602d928744ec2e7be73ef197fc9b12">dmxDestroyPixmap</a> (PixmapPtr pPixmap)</td></tr>
46 <tr><td class="memItemLeft" align="right" valign="top">RegionPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="dmxpixmap_8c.html#af943d5ec32fe35ccc74ae190b8d8bb3e">dmxBitmapToRegion</a> (PixmapPtr pPixmap)</td></tr>
48 <hr/><a name="_details"></a><h2>Detailed Description</h2>
49 <p>Provides pixmap support. </p>
50 <hr/><h2>Function Documentation</h2>
51 <a class="anchor" id="ab785500b50aa10eb1d76274688413770"></a><!-- doxytag: member="dmxpixmap.c::dmxBECreatePixmap" ref="ab785500b50aa10eb1d76274688413770" args="(PixmapPtr pPixmap)" -->
53 <div class="memproto">
54 <table class="memname">
56 <td class="memname">void dmxBECreatePixmap </td>
58 <td class="paramtype">PixmapPtr </td>
59 <td class="paramname"> <em>pPixmap</em></td>
60 <td> ) </td>
66 <p>Create a pixmap on the back-end server. </p>
68 <p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h.html#add8168a70114703a791f8d154d139e2a">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmx_8h.html#a3e242a6818df05e547a4776919e3827f">dmxScreens</a>, <a class="el" href="dmxsync_8c.html#ab848762f4d2e30d31b87d3e8e10c5967">dmxSync()</a>, <a class="el" href="struct__dmxPixPriv.html#a7b3f9090169c50760c7a18e801091c2f">_dmxPixPriv::pixmap</a>, and <a class="el" href="struct__DMXScreenInfo.html#a78c03cd265e1c64b0d4028f0b27f99c4">_DMXScreenInfo::scrnWin</a>.</p>
70 <p>Referenced by <a class="el" href="dmxextension_8h.html#a3962840388f9bcf96fb17294a413d8cb">dmxAttachScreen()</a>, <a class="el" href="dmxextension_8c.html#a6ce8486d2aa17ed2ca5375b127b6189f">dmxBECreateResources()</a>, <a class="el" href="dmxextension_8c.html#a3d9d96382bf12f21023b8983412073ac">dmxBECreateWindowTree()</a>, <a class="el" href="dmxextension_8c.html#a83d7548ed24086d9fb08866ec94735e2">dmxBERestoreRenderPict()</a>, and <a class="el" href="dmxpixmap_8h.html#a9d26c08a4286c663250f61e63ffa3343">dmxCreatePixmap()</a>.</p>
74 <a class="anchor" id="aa930f04f91d83243d3e6224f911bf9e8"></a><!-- doxytag: member="dmxpixmap.c::dmxBEFreePixmap" ref="aa930f04f91d83243d3e6224f911bf9e8" args="(PixmapPtr pPixmap)" -->
76 <div class="memproto">
77 <table class="memname">
79 <td class="memname">Bool dmxBEFreePixmap </td>
81 <td class="paramtype">PixmapPtr </td>
82 <td class="paramname"> <em>pPixmap</em></td>
83 <td> ) </td>
89 <p>Destroy the pixmap on the back-end server. </p>
91 <p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h.html#add8168a70114703a791f8d154d139e2a">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmx_8h.html#a3e242a6818df05e547a4776919e3827f">dmxScreens</a>, and <a class="el" href="struct__dmxPixPriv.html#a7b3f9090169c50760c7a18e801091c2f">_dmxPixPriv::pixmap</a>.</p>
93 <p>Referenced by <a class="el" href="dmxextension_8c.html#aaf05373ce6271205b865799a1c2a588f">dmxBEDestroyResources()</a>, <a class="el" href="dmxextension_8c.html#a30620fb306cff3ee44d6de43aa97346a">dmxBEDestroyWindowTree()</a>, <a class="el" href="dmxpixmap_8h.html#a7c602d928744ec2e7be73ef197fc9b12">dmxDestroyPixmap()</a>, and <a class="el" href="dmxextension_8h.html#a027f2cb3fe32b06f3ca3b04df8336299">dmxDetachScreen()</a>.</p>
97 <a class="anchor" id="af943d5ec32fe35ccc74ae190b8d8bb3e"></a><!-- doxytag: member="dmxpixmap.c::dmxBitmapToRegion" ref="af943d5ec32fe35ccc74ae190b8d8bb3e" args="(PixmapPtr pPixmap)" -->
99 <div class="memproto">
100 <table class="memname">
102 <td class="memname">RegionPtr dmxBitmapToRegion </td>
104 <td class="paramtype">PixmapPtr </td>
105 <td class="paramname"> <em>pPixmap</em></td>
106 <td> ) </td>
112 <p>Create and return a region based on the pixmap pointed to by <em>pPixmap</em>. </p>
114 <p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="dmxpixmap_8h.html#add8168a70114703a791f8d154d139e2a">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmx_8h.html#a3e242a6818df05e547a4776919e3827f">dmxScreens</a>, <a class="el" href="dmxsync_8c.html#ab848762f4d2e30d31b87d3e8e10c5967">dmxSync()</a>, and <a class="el" href="struct__dmxPixPriv.html#a7b3f9090169c50760c7a18e801091c2f">_dmxPixPriv::pixmap</a>.</p>
116 <p>Referenced by <a class="el" href="dmxscrinit_8h.html#a673d8a2c038f8ed0da5f910a72a5c4c2">dmxScreenInit()</a>.</p>
120 <a class="anchor" id="a9d26c08a4286c663250f61e63ffa3343"></a><!-- doxytag: member="dmxpixmap.c::dmxCreatePixmap" ref="a9d26c08a4286c663250f61e63ffa3343" args="(ScreenPtr pScreen, int width, int height, int depth, unsigned usage_hint)" -->
121 <div class="memitem">
122 <div class="memproto">
123 <table class="memname">
125 <td class="memname">PixmapPtr dmxCreatePixmap </td>
127 <td class="paramtype">ScreenPtr </td>
128 <td class="paramname"> <em>pScreen</em>, </td>
131 <td class="paramkey"></td>
133 <td class="paramtype">int </td>
134 <td class="paramname"> <em>width</em>, </td>
137 <td class="paramkey"></td>
139 <td class="paramtype">int </td>
140 <td class="paramname"> <em>height</em>, </td>
143 <td class="paramkey"></td>
145 <td class="paramtype">int </td>
146 <td class="paramname"> <em>depth</em>, </td>
149 <td class="paramkey"></td>
151 <td class="paramtype">unsigned </td>
152 <td class="paramname"> <em>usage_hint</em></td><td> </td>
157 <td></td><td></td><td></td>
162 <p>Create a pixmap for <em>pScreen</em> with the specified <em>width</em>, <em>height</em>, and <em>depth</em>. </p>
164 <p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="struct__dmxPixPriv.html#a54fab045a345e00ee75ab064ce38118e">_dmxPixPriv::detachedImage</a>, <a class="el" href="dmxpixmap_8h.html#add8168a70114703a791f8d154d139e2a">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmx_8h.html#a94c3604e80b511877468dea0d8da7051">DMX_UNWRAP</a>, <a class="el" href="dmx_8h.html#a67000d9b6ab4428d002523c0ef981ed0">DMX_WRAP</a>, <a class="el" href="dmxpixmap_8c.html#ab785500b50aa10eb1d76274688413770">dmxBECreatePixmap()</a>, <a class="el" href="dmxpixmap_8c.html#a9d26c08a4286c663250f61e63ffa3343">dmxCreatePixmap()</a>, <a class="el" href="dmx_8h.html#a3e242a6818df05e547a4776919e3827f">dmxScreens</a>, and <a class="el" href="struct__dmxPixPriv.html#a7b3f9090169c50760c7a18e801091c2f">_dmxPixPriv::pixmap</a>.</p>
166 <p>Referenced by <a class="el" href="dmxpixmap_8h.html#a9d26c08a4286c663250f61e63ffa3343">dmxCreatePixmap()</a>, and <a class="el" href="dmxscrinit_8h.html#a673d8a2c038f8ed0da5f910a72a5c4c2">dmxScreenInit()</a>.</p>
170 <a class="anchor" id="a7c602d928744ec2e7be73ef197fc9b12"></a><!-- doxytag: member="dmxpixmap.c::dmxDestroyPixmap" ref="a7c602d928744ec2e7be73ef197fc9b12" args="(PixmapPtr pPixmap)" -->
171 <div class="memitem">
172 <div class="memproto">
173 <table class="memname">
175 <td class="memname">Bool dmxDestroyPixmap </td>
177 <td class="paramtype">PixmapPtr </td>
178 <td class="paramname"> <em>pPixmap</em></td>
179 <td> ) </td>
185 <p>Destroy the pixmap pointed to by <em>pPixmap</em>. </p>
187 <p>References <a class="el" href="struct__DMXScreenInfo.html#a756ade62a55a52f163a42db6de54c244">_DMXScreenInfo::beDisplay</a>, <a class="el" href="struct__dmxPixPriv.html#a54fab045a345e00ee75ab064ce38118e">_dmxPixPriv::detachedImage</a>, <a class="el" href="dmxpixmap_8h.html#add8168a70114703a791f8d154d139e2a">DMX_GET_PIXMAP_PRIV</a>, <a class="el" href="dmx_8h.html#a94c3604e80b511877468dea0d8da7051">DMX_UNWRAP</a>, <a class="el" href="dmx_8h.html#a67000d9b6ab4428d002523c0ef981ed0">DMX_WRAP</a>, <a class="el" href="dmxpixmap_8c.html#aa930f04f91d83243d3e6224f911bf9e8">dmxBEFreePixmap()</a>, <a class="el" href="dmxpixmap_8c.html#a7c602d928744ec2e7be73ef197fc9b12">dmxDestroyPixmap()</a>, <a class="el" href="dmx_8h.html#a3e242a6818df05e547a4776919e3827f">dmxScreens</a>, and <a class="el" href="dmxsync_8c.html#ab848762f4d2e30d31b87d3e8e10c5967">dmxSync()</a>.</p>
189 <p>Referenced by <a class="el" href="dmxpixmap_8h.html#a7c602d928744ec2e7be73ef197fc9b12">dmxDestroyPixmap()</a>, and <a class="el" href="dmxscrinit_8h.html#a673d8a2c038f8ed0da5f910a72a5c4c2">dmxScreenInit()</a>.</p>
193 <a class="anchor" id="aacf02a6e5ba85a356f09f66159e71a75"></a><!-- doxytag: member="dmxpixmap.c::dmxInitPixmap" ref="aacf02a6e5ba85a356f09f66159e71a75" args="(ScreenPtr pScreen)" -->
194 <div class="memitem">
195 <div class="memproto">
196 <table class="memname">
198 <td class="memname">Bool dmxInitPixmap </td>
200 <td class="paramtype">ScreenPtr </td>
201 <td class="paramname"> <em>pScreen</em></td>
202 <td> ) </td>
208 <p>Initialize a private area in <em>pScreen</em> for pixmap information. </p>
210 <p>References <a class="el" href="dmx_8h.html#af773380733836d74aa67be0d75614fe4">dmxPixPrivateKeyRec</a>.</p>
212 <p>Referenced by <a class="el" href="dmxscrinit_8h.html#a673d8a2c038f8ed0da5f910a72a5c4c2">dmxScreenInit()</a>.</p>
220 Generated June 29, 2004 for <a
221 href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
222 <a href="http://www.doxygen.org/index.html">doxygen</a>