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>dmxpixmap.h</h1><a href="dmxpixmap_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>
39
00029 <span class="comment">/*</span>
40
00030 <span class="comment"> * Authors:</span>
41
00031 <span class="comment"> * Kevin E. Martin <kem@redhat.com></span>
42
00032 <span class="comment"> *</span>
43
00033 <span class="comment"> */</span>
45
00038 <span class="preprocessor">#ifndef DMXPIXMAP_H</span>
46
00039 <span class="preprocessor"></span><span class="preprocessor">#define DMXPIXMAP_H</span>
47
00040 <span class="preprocessor"></span>
48
00041 <span class="preprocessor">#include "pixmapstr.h"</span>
50
<a name="l00044"></a><a class="code" href="struct__dmxPixPriv.html">00044</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__dmxPixPriv.html">_dmxPixPriv</a> {
52
00046 XImage *detachedImage;
53
00047 } <a class="code" href="struct__dmxPixPriv.html">dmxPixPrivRec</a>, *<a class="code" href="struct__dmxPixPriv.html">dmxPixPrivPtr</a>;
56
00050 <span class="keyword">extern</span> Bool <a class="code" href="dmxpixmap_8c.html#a0">dmxInitPixmap</a>(ScreenPtr pScreen);
58
00052 <span class="keyword">extern</span> PixmapPtr <a class="code" href="dmxpixmap_8c.html#a2">dmxCreatePixmap</a>(ScreenPtr pScreen,
59
00053 <span class="keywordtype">int</span> width, <span class="keywordtype">int</span> height, <span class="keywordtype">int</span> depth);
60
00054 <span class="keyword">extern</span> Bool <a class="code" href="dmxpixmap_8c.html#a4">dmxDestroyPixmap</a>(PixmapPtr pPixmap);
61
00055 <span class="keyword">extern</span> RegionPtr <a class="code" href="dmxpixmap_8c.html#a5">dmxBitmapToRegion</a>(PixmapPtr pPixmap);
63
00057 <span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="dmxpixmap_8c.html#a1">dmxBECreatePixmap</a>(PixmapPtr pPixmap);
64
00058 <span class="keyword">extern</span> Bool <a class="code" href="dmxpixmap_8c.html#a3">dmxBEFreePixmap</a>(PixmapPtr pPixmap);
66
<a name="l00061"></a><a class="code" href="dmxpixmap_8h.html#a3">00061</a> <span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="dmxpixmap_8h.html#a3">dmxPixPrivateIndex</a>;
68
<a name="l00064"></a><a class="code" href="dmxpixmap_8h.html#a0">00064</a> <span class="preprocessor">#define DMX_GET_PIXMAP_PRIV(_pPix) \</span>
69
00065 <span class="preprocessor"> (dmxPixPrivPtr)(_pPix)->devPrivates[dmxPixPrivateIndex].ptr</span>
70
00066 <span class="preprocessor"></span>
71
00067 <span class="preprocessor">#endif </span><span class="comment">/* DMXPIXMAP_H */</span>
75
Generated June 29, 2004 for <a
76
href="http://dmx.sourceforge.net">Distributed Multihead X</a> by
77
<a href="http://www.doxygen.org/index.html">doxygen</a>