First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xnest / GCOps.h
blobca4cf33f7ac3ebaf42ba8c944d8e33d88e7d6078
1 /*
3 Copyright 1993 by Davor Matic
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.
15 #ifndef XNESTGCOPS_H
16 #define XNESTGCOPS_H
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,
30 char *pImage);
31 RegionPtr xnestCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
32 GCPtr pGC, int srcx, int srcy, int width, int height,
33 int dstx, int dsty);
34 RegionPtr xnestCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
35 GCPtr pGC, int srcx, int srcy, int width, int height,
36 int dstx, int dsty, unsigned long plane);
37 void xnestPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
38 DDXPointPtr pPoints);
39 void xnestPolylines(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
40 DDXPointPtr pPoints);
41 void xnestPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nSegments,
42 xSegment *pSegments);
43 void xnestPolyRectangle(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
44 xRectangle *pRectangles);
45 void xnestPolyArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc *pArcs);
46 void xnestFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, int mode,
47 int nPoints, DDXPointPtr pPoints);
48 void xnestPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
49 xRectangle *pRectangles);
50 void xnestPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, 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);
68 #endif /* XNESTGCOPS_H */