1/*
2
3Copyright 1993 by Davor Matic
4
5Permission to use, copy, modify, distribute, and sell this software
6and its documentation for any purpose is hereby granted without fee,
7provided that the above copyright notice appear in all copies and that
8both that copyright notice and this permission notice appear in
9supporting documentation.  Davor Matic makes no representations about
10the suitability of this software for any purpose.  It is provided "as
11is" without express or implied warranty.
12
13*/
14
15#ifndef XNESTGCOPS_H
16#define XNESTGCOPS_H
17
18void xnestFillSpans(DrawablePtr pDrawable, GCPtr pGC, int nSpans,
19		    xPoint *pPoints, int *pWidths, int fSorted);
20void xnestSetSpans(DrawablePtr pDrawable, GCPtr pGC, char *pSrc,
21		   xPoint *pPoints, int *pWidths, int nSpans, int fSorted);
22void xnestGetSpans(DrawablePtr pDrawable, int maxWidth, DDXPointPtr pPoints,
23		   int *pWidths, int nSpans, char *pBuffer);
24void xnestQueryBestSize(int class, unsigned short *pWidth,
25			unsigned short *pHeight, ScreenPtr pScreen);
26void xnestPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y,
27		   int w, int h, int leftPad, int format, char *pImage);
28void xnestGetImage(DrawablePtr pDrawable, int x, int y, int w, int h,
29		   unsigned int format, unsigned long planeMask,
30		   char *pImage);
31RegionPtr xnestCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
32			GCPtr pGC, int srcx, int srcy, int width, int height,
33			int dstx, int dsty);
34RegionPtr xnestCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
35			 GCPtr pGC, int srcx, int srcy, int width, int height,
36			 int dstx, int dsty, unsigned long plane);
37void xnestPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
38		    DDXPointPtr  pPoints);
39void xnestPolylines(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
40		    DDXPointPtr pPoints);
41void xnestPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nSegments,
42		      xSegment *pSegments);
43void xnestPolyRectangle(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
44			xRectangle *pRectangles);
45void xnestPolyArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc *pArcs);
46void xnestFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, int mode,
47		      int nPoints, DDXPointPtr pPoints);
48void xnestPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
49		       xRectangle *pRectangles);
50void xnestPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc *pArcs);
51int xnestPolyText8(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
52		   char *string);
53int xnestPolyText16(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
54		    unsigned short *string);
55void xnestImageText8(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
56		    char *string);
57void xnestImageText16(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
58		    unsigned short *string);
59void xnestImageGlyphBlt(DrawablePtr pDrawable, GCPtr pGC, int x, int y,
60			unsigned int nGlyphs, CharInfoPtr *pCharInfo,
61			pointer pGlyphBase);
62void xnestPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC, int x, int y,
63		       unsigned int nGlyphs, CharInfoPtr *pCharInfo,
64		       pointer pGlyphBase);
65void xnestPushPixels(GCPtr pGC, PixmapPtr pBitmap, DrawablePtr pDrawable,
66		     int width, int height, int x, int y);
67
68#endif /* XNESTGCOPS_H */
69