| 1 | /* |
| 2 | |
| 3 | Copyright 1993 by Davor Matic |
| 4 | |
| 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. |
| 12 | |
| 13 | */ |
| 14 | |
| 15 | #ifndef XNESTGCOPS_H |
| 16 | #define XNESTGCOPS_H |
| 17 | |
| 18 | void xnestFillSpans(DrawablePtr pDrawable, GCPtr pGC, int nSpans, |
| 19 | xPoint * pPoints, int *pWidths, int fSorted); |
| 20 | void xnestSetSpans(DrawablePtr pDrawable, GCPtr pGC, char *pSrc, |
| 21 | xPoint * pPoints, int *pWidths, int nSpans, int fSorted); |
| 22 | void xnestGetSpans(DrawablePtr pDrawable, int maxWidth, DDXPointPtr pPoints, |
| 23 | int *pWidths, int nSpans, char *pBuffer); |
| 24 | void xnestQueryBestSize(int class, unsigned short *pWidth, |
| 25 | unsigned short *pHeight, ScreenPtr pScreen); |
| 26 | void xnestPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, |
| 27 | int w, int h, int leftPad, int format, char *pImage); |
| 28 | void xnestGetImage(DrawablePtr pDrawable, int x, int y, int w, int h, |
| 29 | unsigned int format, unsigned long planeMask, char *pImage); |
| 30 | RegionPtr xnestCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, |
| 31 | GCPtr pGC, int srcx, int srcy, int width, int height, |
| 32 | int dstx, int dsty); |
| 33 | RegionPtr xnestCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, |
| 34 | GCPtr pGC, int srcx, int srcy, int width, int height, |
| 35 | int dstx, int dsty, unsigned long plane); |
| 36 | void xnestPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints, |
| 37 | DDXPointPtr pPoints); |
| 38 | void xnestPolylines(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints, |
| 39 | DDXPointPtr pPoints); |
| 40 | void xnestPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nSegments, |
| 41 | xSegment * pSegments); |
| 42 | void xnestPolyRectangle(DrawablePtr pDrawable, GCPtr pGC, int nRectangles, |
| 43 | xRectangle *pRectangles); |
| 44 | void xnestPolyArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc * pArcs); |
| 45 | void xnestFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, int mode, |
| 46 | int nPoints, DDXPointPtr pPoints); |
| 47 | void xnestPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nRectangles, |
| 48 | xRectangle *pRectangles); |
| 49 | void xnestPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, |
| 50 | xArc * pArcs); |
| 51 | int xnestPolyText8(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, |
| 52 | char *string); |
| 53 | int xnestPolyText16(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, |
| 54 | unsigned short *string); |
| 55 | void xnestImageText8(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, |
| 56 | char *string); |
| 57 | void xnestImageText16(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, |
| 58 | unsigned short *string); |
| 59 | void xnestImageGlyphBlt(DrawablePtr pDrawable, GCPtr pGC, int x, int y, |
| 60 | unsigned int nGlyphs, CharInfoPtr * pCharInfo, |
| 61 | pointer pGlyphBase); |
| 62 | void xnestPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC, int x, int y, |
| 63 | unsigned int nGlyphs, CharInfoPtr * pCharInfo, |
| 64 | pointer pGlyphBase); |
| 65 | void xnestPushPixels(GCPtr pGC, PixmapPtr pBitmap, DrawablePtr pDrawable, |
| 66 | int width, int height, int x, int y); |
| 67 | |
| 68 | #endif /* XNESTGCOPS_H */ |