3 Copyright 1993 by Davor Matic
5 Permission to use, copy, modify, distribute, and sell this software
6 and its documentation for any purpose is hereby granted without fee,
7 provided that the above copyright notice appear in all copies and that
8 both that copyright notice and this permission notice appear in
9 supporting documentation. Davor Matic makes no representations about
10 the suitability of this software for any purpose. It is provided "as
11 is" without express or implied warranty.
18 extern DevPrivateKeyRec xnestPixmapPrivateKeyRec
;
20 #define xnestPixmapPrivateKey (&xnestPixmapPrivateKeyRec)
26 #define xnestPixmapPriv(pPixmap) ((xnestPrivPixmap *) \
27 dixLookupPrivate(&(pPixmap)->devPrivates, xnestPixmapPrivateKey))
29 #define xnestPixmap(pPixmap) (xnestPixmapPriv(pPixmap)->pixmap)
31 #define xnestSharePixmap(pPixmap) ((pPixmap)->refcnt++)
33 PixmapPtr
xnestCreatePixmap(ScreenPtr pScreen
, int width
, int height
,
34 int depth
, unsigned usage_hint
);
35 Bool
xnestDestroyPixmap(PixmapPtr pPixmap
);
36 Bool
xnestModifyPixmapHeader(PixmapPtr pPixmap
, int width
, int height
, int depth
,
37 int bitsPerPixel
, int devKind
, pointer pPixData
);
38 RegionPtr
xnestPixmapToRegion(PixmapPtr pPixmap
);
40 #endif /* XNESTPIXMAP_H */