Commit | Line | Data |
---|---|---|
a09e091a JB |
1 | /* |
2 | * | |
3 | * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc. | |
4 | * | |
5 | * Permission to use, copy, modify, distribute, and sell this software and its | |
6 | * documentation for any purpose is hereby granted without fee, provided that | |
7 | * the above copyright notice appear in all copies and that both that | |
8 | * copyright notice and this permission notice appear in supporting | |
9 | * documentation, and that the name of Keith Packard not be used in | |
10 | * advertising or publicity pertaining to distribution of the software without | |
11 | * specific, written prior permission. Keith Packard makes no | |
12 | * representations about the suitability of this software for any purpose. It | |
13 | * is provided "as is" without express or implied warranty. | |
14 | * | |
15 | * KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, | |
16 | * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO | |
17 | * EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR | |
18 | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, | |
19 | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | |
20 | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR | |
21 | * PERFORMANCE OF THIS SOFTWARE. | |
22 | */ | |
23 | ||
24 | #ifdef HAVE_DIX_CONFIG_H | |
25 | #include <dix-config.h> | |
26 | #endif | |
27 | ||
28 | #ifndef _FBPICT_H_ | |
29 | #define _FBPICT_H_ | |
30 | ||
31 | /* fbpict.c */ | |
32 | extern _X_EXPORT void | |
33 | ||
34 | fbComposite(CARD8 op, | |
35 | PicturePtr pSrc, | |
36 | PicturePtr pMask, | |
37 | PicturePtr pDst, | |
38 | INT16 xSrc, | |
39 | INT16 ySrc, | |
40 | INT16 xMask, | |
41 | INT16 yMask, INT16 xDst, INT16 yDst, CARD16 width, CARD16 height); | |
42 | ||
43 | /* fbtrap.c */ | |
44 | ||
45 | extern _X_EXPORT void | |
46 | ||
47 | fbAddTraps(PicturePtr pPicture, | |
48 | INT16 xOff, INT16 yOff, int ntrap, xTrap * traps); | |
49 | ||
50 | extern _X_EXPORT void | |
51 | ||
52 | fbRasterizeTrapezoid(PicturePtr alpha, xTrapezoid * trap, int x_off, int y_off); | |
53 | ||
54 | extern _X_EXPORT void | |
55 | ||
56 | fbAddTriangles(PicturePtr pPicture, | |
57 | INT16 xOff, INT16 yOff, int ntri, xTriangle * tris); | |
58 | ||
59 | extern _X_EXPORT void | |
60 | ||
61 | fbTrapezoids(CARD8 op, | |
62 | PicturePtr pSrc, | |
63 | PicturePtr pDst, | |
64 | PictFormatPtr maskFormat, | |
65 | INT16 xSrc, INT16 ySrc, int ntrap, xTrapezoid * traps); | |
66 | ||
67 | extern _X_EXPORT void | |
68 | ||
69 | fbTriangles(CARD8 op, | |
70 | PicturePtr pSrc, | |
71 | PicturePtr pDst, | |
72 | PictFormatPtr maskFormat, | |
73 | INT16 xSrc, INT16 ySrc, int ntris, xTriangle * tris); | |
74 | ||
75 | #endif /* _FBPICT_H_ */ |