1706f2543Smrg/*
2706f2543Smrg
3706f2543SmrgCopyright 1993 by Davor Matic
4706f2543Smrg
5706f2543SmrgPermission to use, copy, modify, distribute, and sell this software
6706f2543Smrgand its documentation for any purpose is hereby granted without fee,
7706f2543Smrgprovided that the above copyright notice appear in all copies and that
8706f2543Smrgboth that copyright notice and this permission notice appear in
9706f2543Smrgsupporting documentation.  Davor Matic makes no representations about
10706f2543Smrgthe suitability of this software for any purpose.  It is provided "as
11706f2543Smrgis" without express or implied warranty.
12706f2543Smrg
13706f2543Smrg*/
14706f2543Smrg
15706f2543Smrg#ifndef XNESTGCOPS_H
16706f2543Smrg#define XNESTGCOPS_H
17706f2543Smrg
18706f2543Smrgvoid xnestFillSpans(DrawablePtr pDrawable, GCPtr pGC, int nSpans,
19706f2543Smrg		    xPoint *pPoints, int *pWidths, int fSorted);
20706f2543Smrgvoid xnestSetSpans(DrawablePtr pDrawable, GCPtr pGC, char *pSrc,
21706f2543Smrg		   xPoint *pPoints, int *pWidths, int nSpans, int fSorted);
22706f2543Smrgvoid xnestGetSpans(DrawablePtr pDrawable, int maxWidth, DDXPointPtr pPoints,
23706f2543Smrg		   int *pWidths, int nSpans, char *pBuffer);
24706f2543Smrgvoid xnestQueryBestSize(int class, unsigned short *pWidth,
25706f2543Smrg			unsigned short *pHeight, ScreenPtr pScreen);
26706f2543Smrgvoid xnestPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y,
27706f2543Smrg		   int w, int h, int leftPad, int format, char *pImage);
28706f2543Smrgvoid xnestGetImage(DrawablePtr pDrawable, int x, int y, int w, int h,
29706f2543Smrg		   unsigned int format, unsigned long planeMask,
30706f2543Smrg		   char *pImage);
31706f2543SmrgRegionPtr xnestCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
32706f2543Smrg			GCPtr pGC, int srcx, int srcy, int width, int height,
33706f2543Smrg			int dstx, int dsty);
34706f2543SmrgRegionPtr xnestCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
35706f2543Smrg			 GCPtr pGC, int srcx, int srcy, int width, int height,
36706f2543Smrg			 int dstx, int dsty, unsigned long plane);
37706f2543Smrgvoid xnestPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
38706f2543Smrg		    DDXPointPtr  pPoints);
39706f2543Smrgvoid xnestPolylines(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
40706f2543Smrg		    DDXPointPtr pPoints);
41706f2543Smrgvoid xnestPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nSegments,
42706f2543Smrg		      xSegment *pSegments);
43706f2543Smrgvoid xnestPolyRectangle(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
44706f2543Smrg			xRectangle *pRectangles);
45706f2543Smrgvoid xnestPolyArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc *pArcs);
46706f2543Smrgvoid xnestFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, int mode,
47706f2543Smrg		      int nPoints, DDXPointPtr pPoints);
48706f2543Smrgvoid xnestPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
49706f2543Smrg		       xRectangle *pRectangles);
50706f2543Smrgvoid xnestPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc *pArcs);
51706f2543Smrgint xnestPolyText8(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
52706f2543Smrg		   char *string);
53706f2543Smrgint xnestPolyText16(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
54706f2543Smrg		    unsigned short *string);
55706f2543Smrgvoid xnestImageText8(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
56706f2543Smrg		    char *string);
57706f2543Smrgvoid xnestImageText16(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
58706f2543Smrg		    unsigned short *string);
59706f2543Smrgvoid xnestImageGlyphBlt(DrawablePtr pDrawable, GCPtr pGC, int x, int y,
60706f2543Smrg			unsigned int nGlyphs, CharInfoPtr *pCharInfo,
61706f2543Smrg			pointer pGlyphBase);
62706f2543Smrgvoid xnestPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC, int x, int y,
63706f2543Smrg		       unsigned int nGlyphs, CharInfoPtr *pCharInfo,
64706f2543Smrg		       pointer pGlyphBase);
65706f2543Smrgvoid xnestPushPixels(GCPtr pGC, PixmapPtr pBitmap, DrawablePtr pDrawable,
66706f2543Smrg		     int width, int height, int x, int y);
67706f2543Smrg
68706f2543Smrg#endif /* XNESTGCOPS_H */
69