00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00038 #ifndef DMXGCOPS_H
00039 #define DMXGCOPS_H
00040
00041 extern void dmxFillSpans(DrawablePtr pDrawable, GCPtr pGC,
00042 int nInit, DDXPointPtr pptInit, int *pwidthInit,
00043 int fSorted);
00044 extern void dmxSetSpans(DrawablePtr pDrawable, GCPtr pGC,
00045 char *psrc, DDXPointPtr ppt, int *pwidth, int nspans,
00046 int fSorted);
00047 extern void dmxPutImage(DrawablePtr pDrawable, GCPtr pGC,
00048 int depth, int x, int y, int w, int h,
00049 int leftPad, int format, char *pBits);
00050 extern RegionPtr dmxCopyArea(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
00051 int srcx, int srcy, int w, int h,
00052 int dstx, int dsty);
00053 extern RegionPtr dmxCopyPlane(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
00054 int srcx, int srcy, int width, int height,
00055 int dstx, int dsty, unsigned long bitPlane);
00056 extern void dmxPolyPoint(DrawablePtr pDrawable, GCPtr pGC,
00057 int mode, int npt, DDXPointPtr pptInit);
00058 extern void dmxPolylines(DrawablePtr pDrawable, GCPtr pGC,
00059 int mode, int npt, DDXPointPtr pptInit);
00060 extern void dmxPolySegment(DrawablePtr pDrawable, GCPtr pGC,
00061 int nseg, xSegment *pSegs);
00062 extern void dmxPolyRectangle(DrawablePtr pDrawable, GCPtr pGC,
00063 int nrects, xRectangle *pRects);
00064 extern void dmxPolyArc(DrawablePtr pDrawable, GCPtr pGC,
00065 int narcs, xArc *parcs);
00066 extern void dmxFillPolygon(DrawablePtr pDrawable, GCPtr pGC,
00067 int shape, int mode, int count, DDXPointPtr pPts);
00068 extern void dmxPolyFillRect(DrawablePtr pDrawable, GCPtr pGC,
00069 int nrectFill, xRectangle *prectInit);
00070 extern void dmxPolyFillArc(DrawablePtr pDrawable, GCPtr pGC,
00071 int narcs, xArc *parcs);
00072 extern int dmxPolyText8(DrawablePtr pDrawable, GCPtr pGC,
00073 int x, int y, int count, char *chars);
00074 extern int dmxPolyText16(DrawablePtr pDrawable, GCPtr pGC,
00075 int x, int y, int count, unsigned short *chars);
00076 extern void dmxImageText8(DrawablePtr pDrawable, GCPtr pGC,
00077 int x, int y, int count, char *chars);
00078 extern void dmxImageText16(DrawablePtr pDrawable, GCPtr pGC,
00079 int x, int y, int count, unsigned short *chars);
00080 extern void dmxImageGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
00081 int x, int y, unsigned int nglyph,
00082 CharInfoPtr *ppci, pointer pglyphBase);
00083 extern void dmxPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
00084 int x, int y, unsigned int nglyph,
00085 CharInfoPtr *ppci, pointer pglyphBase);
00086 extern void dmxPushPixels(GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDst,
00087 int w, int h, int x, int y);
00088
00089 extern void dmxGetImage(DrawablePtr pDrawable, int sx, int sy, int w, int h,
00090 unsigned int format, unsigned long planeMask,
00091 char *pdstLine);
00092 extern void dmxGetSpans(DrawablePtr pDrawable, int wMax,
00093 DDXPointPtr ppt, int *pwidth, int nspans,
00094 char *pdstStart);
00095
00096 #endif