2006-11-26 11:13:41 -07:00
|
|
|
/*
|
|
|
|
|
|
|
|
Copyright 1993 by Davor Matic
|
|
|
|
|
|
|
|
Permission to use, copy, modify, distribute, and sell this software
|
|
|
|
and its documentation for any purpose is hereby granted without fee,
|
|
|
|
provided that the above copyright notice appear in all copies and that
|
|
|
|
both that copyright notice and this permission notice appear in
|
|
|
|
supporting documentation. Davor Matic makes no representations about
|
|
|
|
the suitability of this software for any purpose. It is provided "as
|
|
|
|
is" without express or implied warranty.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef XNESTGCOPS_H
|
|
|
|
#define XNESTGCOPS_H
|
|
|
|
|
|
|
|
void xnestFillSpans(DrawablePtr pDrawable, GCPtr pGC, int nSpans,
|
2012-06-10 07:21:05 -06:00
|
|
|
xPoint * pPoints, int *pWidths, int fSorted);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestSetSpans(DrawablePtr pDrawable, GCPtr pGC, char *pSrc,
|
2012-06-10 07:21:05 -06:00
|
|
|
xPoint * pPoints, int *pWidths, int nSpans, int fSorted);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestGetSpans(DrawablePtr pDrawable, int maxWidth, DDXPointPtr pPoints,
|
2012-06-10 07:21:05 -06:00
|
|
|
int *pWidths, int nSpans, char *pBuffer);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestQueryBestSize(int class, unsigned short *pWidth,
|
2012-06-10 07:21:05 -06:00
|
|
|
unsigned short *pHeight, ScreenPtr pScreen);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestPutImage(DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y,
|
2012-06-10 07:21:05 -06:00
|
|
|
int w, int h, int leftPad, int format, char *pImage);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestGetImage(DrawablePtr pDrawable, int x, int y, int w, int h,
|
2012-06-10 07:21:05 -06:00
|
|
|
unsigned int format, unsigned long planeMask, char *pImage);
|
2006-11-26 11:13:41 -07:00
|
|
|
RegionPtr xnestCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
|
2012-06-10 07:21:05 -06:00
|
|
|
GCPtr pGC, int srcx, int srcy, int width, int height,
|
|
|
|
int dstx, int dsty);
|
2006-11-26 11:13:41 -07:00
|
|
|
RegionPtr xnestCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable,
|
2012-06-10 07:21:05 -06:00
|
|
|
GCPtr pGC, int srcx, int srcy, int width, int height,
|
|
|
|
int dstx, int dsty, unsigned long plane);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestPolyPoint(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
|
2012-06-10 07:21:05 -06:00
|
|
|
DDXPointPtr pPoints);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestPolylines(DrawablePtr pDrawable, GCPtr pGC, int mode, int nPoints,
|
2012-06-10 07:21:05 -06:00
|
|
|
DDXPointPtr pPoints);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestPolySegment(DrawablePtr pDrawable, GCPtr pGC, int nSegments,
|
2012-06-10 07:21:05 -06:00
|
|
|
xSegment * pSegments);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestPolyRectangle(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
|
2012-06-10 07:21:05 -06:00
|
|
|
xRectangle *pRectangles);
|
|
|
|
void xnestPolyArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs, xArc * pArcs);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, int mode,
|
2012-06-10 07:21:05 -06:00
|
|
|
int nPoints, DDXPointPtr pPoints);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, int nRectangles,
|
2012-06-10 07:21:05 -06:00
|
|
|
xRectangle *pRectangles);
|
|
|
|
void xnestPolyFillArc(DrawablePtr pDrawable, GCPtr pGC, int nArcs,
|
|
|
|
xArc * pArcs);
|
2006-11-26 11:13:41 -07:00
|
|
|
int xnestPolyText8(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
|
2012-06-10 07:21:05 -06:00
|
|
|
char *string);
|
2006-11-26 11:13:41 -07:00
|
|
|
int xnestPolyText16(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
|
2012-06-10 07:21:05 -06:00
|
|
|
unsigned short *string);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestImageText8(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
|
2012-06-10 07:21:05 -06:00
|
|
|
char *string);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestImageText16(DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count,
|
2012-06-10 07:21:05 -06:00
|
|
|
unsigned short *string);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestImageGlyphBlt(DrawablePtr pDrawable, GCPtr pGC, int x, int y,
|
2012-06-10 07:21:05 -06:00
|
|
|
unsigned int nGlyphs, CharInfoPtr * pCharInfo,
|
2014-09-27 11:52:59 -06:00
|
|
|
void *pGlyphBase);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC, int x, int y,
|
2012-06-10 07:21:05 -06:00
|
|
|
unsigned int nGlyphs, CharInfoPtr * pCharInfo,
|
2014-09-27 11:52:59 -06:00
|
|
|
void *pGlyphBase);
|
2006-11-26 11:13:41 -07:00
|
|
|
void xnestPushPixels(GCPtr pGC, PixmapPtr pBitmap, DrawablePtr pDrawable,
|
2012-06-10 07:21:05 -06:00
|
|
|
int width, int height, int x, int y);
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2012-06-10 07:21:05 -06:00
|
|
|
#endif /* XNESTGCOPS_H */
|