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 | fbComposite (CARD8 op,
|
---|
34 | PicturePtr pSrc,
|
---|
35 | PicturePtr pMask,
|
---|
36 | PicturePtr pDst,
|
---|
37 | INT16 xSrc,
|
---|
38 | INT16 ySrc,
|
---|
39 | INT16 xMask,
|
---|
40 | INT16 yMask,
|
---|
41 | INT16 xDst,
|
---|
42 | INT16 yDst,
|
---|
43 | CARD16 width,
|
---|
44 | CARD16 height);
|
---|
45 |
|
---|
46 | /* fbtrap.c */
|
---|
47 |
|
---|
48 | extern _X_EXPORT void
|
---|
49 | fbAddTraps (PicturePtr pPicture,
|
---|
50 | INT16 xOff,
|
---|
51 | INT16 yOff,
|
---|
52 | int ntrap,
|
---|
53 | xTrap *traps);
|
---|
54 |
|
---|
55 | extern _X_EXPORT void
|
---|
56 | fbRasterizeTrapezoid (PicturePtr alpha,
|
---|
57 | xTrapezoid *trap,
|
---|
58 | int x_off,
|
---|
59 | int y_off);
|
---|
60 |
|
---|
61 | extern _X_EXPORT void
|
---|
62 | fbAddTriangles (PicturePtr pPicture,
|
---|
63 | INT16 xOff,
|
---|
64 | INT16 yOff,
|
---|
65 | int ntri,
|
---|
66 | xTriangle *tris);
|
---|
67 |
|
---|
68 | extern _X_EXPORT void
|
---|
69 | fbTrapezoids (CARD8 op,
|
---|
70 | PicturePtr pSrc,
|
---|
71 | PicturePtr pDst,
|
---|
72 | PictFormatPtr maskFormat,
|
---|
73 | INT16 xSrc,
|
---|
74 | INT16 ySrc,
|
---|
75 | int ntrap,
|
---|
76 | xTrapezoid *traps);
|
---|
77 |
|
---|
78 | extern _X_EXPORT void
|
---|
79 | fbTriangles (CARD8 op,
|
---|
80 | PicturePtr pSrc,
|
---|
81 | PicturePtr pDst,
|
---|
82 | PictFormatPtr maskFormat,
|
---|
83 | INT16 xSrc,
|
---|
84 | INT16 ySrc,
|
---|
85 | int ntris,
|
---|
86 | xTriangle *tris);
|
---|
87 |
|
---|
88 | #endif /* _FBPICT_H_ */
|
---|