Imported Upstream version 1.15.1
[deb_xorg-server.git] / hw / xnest / GCOps.h
CommitLineData
a09e091a
JB
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, char *pImage);
30RegionPtr xnestCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
31 GCPtr pGC, int srcx, int srcy, int width, int height,
32 int dstx, int dsty);
33RegionPtr xnestCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
34 GCPtr pGC, int srcx, int srcy, int width, int height,
35 int dstx, int dsty, unsigned long plane);
36void xnestPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
37 DDXPointPtr pPoints);
38void xnestPolylines(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
39 DDXPointPtr pPoints);
40void xnestPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nSegments,
41 xSegment * pSegments);
42void xnestPolyRectangle(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
43 xRectangle *pRectangles);
44void xnestPolyArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc * pArcs);
45void xnestFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, int mode,
46 int nPoints, DDXPointPtr pPoints);
47void xnestPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
48 xRectangle *pRectangles);
49void xnestPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs,
50 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 */