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