- Main Page
- Data Structures
- Files

- File List
- Globals

# dmxgcops.h

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 2001,2002 Red Hat Inc., Durham, North Carolina.
    00003  *
    00004  * All Rights Reserved.
    00005  *
    00006  * Permission is hereby granted, free of charge, to any person obtaining
    00007  * a copy of this software and associated documentation files (the
    00008  * "Software"), to deal in the Software without restriction, including
    00009  * without limitation on the rights to use, copy, modify, merge,
    00010  * publish, distribute, sublicense, and/or sell copies of the Software,
    00011  * and to permit persons to whom the Software is furnished to do so,
    00012  * subject to the following conditions:
    00013  *
    00014  * The above copyright notice and this permission notice (including the
    00015  * next paragraph) shall be included in all copies or substantial
    00016  * portions of the Software.
    00017  *
    00018  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    00019  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    00020  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    00021  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
    00022  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
    00023  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    00024  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    00025  * SOFTWARE.
    00026  */
    00027
    00028 /*
    00029  * Authors:
    00030  *   Kevin E. Martin <kem@redhat.com>
    00031  *
    00032  */
    00033
    00037 #ifndef DMXGCOPS_H
    00038 #define DMXGCOPS_H
    00039
    00040 extern void dmxFillSpans(DrawablePtr pDrawable, GCPtr pGC,
    00041                          int nInit, DDXPointPtr pptInit, int *pwidthInit,
    00042                          int fSorted);
    00043 extern void dmxSetSpans(DrawablePtr pDrawable, GCPtr pGC,
    00044                         char *psrc, DDXPointPtr ppt, int *pwidth, int nspans,
    00045                         int fSorted);
    00046 extern void dmxPutImage(DrawablePtr pDrawable, GCPtr pGC,
    00047                         int depth, int x, int y, int w, int h,
    00048                         int leftPad, int format, char *pBits);
    00049 extern RegionPtr dmxCopyArea(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
    00050                              int srcx, int srcy, int w, int h,
    00051                              int dstx, int dsty);
    00052 extern RegionPtr dmxCopyPlane(DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC,
    00053                               int srcx, int srcy, int width, int height,
    00054                               int dstx, int dsty, unsigned long bitPlane);
    00055 extern void dmxPolyPoint(DrawablePtr pDrawable, GCPtr pGC,
    00056                          int mode, int npt, DDXPointPtr pptInit);
    00057 extern void dmxPolylines(DrawablePtr pDrawable, GCPtr pGC,
    00058                          int mode, int npt, DDXPointPtr pptInit);
    00059 extern void dmxPolySegment(DrawablePtr pDrawable, GCPtr pGC,
    00060                            int nseg, xSegment *pSegs);
    00061 extern void dmxPolyRectangle(DrawablePtr pDrawable, GCPtr pGC,
    00062                              int nrects, xRectangle *pRects);
    00063 extern void dmxPolyArc(DrawablePtr pDrawable, GCPtr pGC,
    00064                        int narcs, xArc *parcs);
    00065 extern void dmxFillPolygon(DrawablePtr pDrawable, GCPtr pGC,
    00066                            int shape, int mode, int count, DDXPointPtr pPts);
    00067 extern void dmxPolyFillRect(DrawablePtr pDrawable, GCPtr pGC,
    00068                             int nrectFill, xRectangle *prectInit);
    00069 extern void dmxPolyFillArc(DrawablePtr pDrawable, GCPtr pGC,
    00070                            int narcs, xArc *parcs);
    00071 extern int dmxPolyText8(DrawablePtr pDrawable, GCPtr pGC,
    00072                         int x, int y, int count, char *chars);
    00073 extern int dmxPolyText16(DrawablePtr pDrawable, GCPtr pGC,
    00074                          int x, int y, int count, unsigned short *chars);
    00075 extern void dmxImageText8(DrawablePtr pDrawable, GCPtr pGC,
    00076                           int x, int y, int count, char *chars);
    00077 extern void dmxImageText16(DrawablePtr pDrawable, GCPtr pGC,
    00078                            int x, int y, int count, unsigned short *chars);
    00079 extern void dmxImageGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
    00080                              int x, int y, unsigned int nglyph,
    00081                              CharInfoPtr *ppci, pointer pglyphBase);
    00082 extern void dmxPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
    00083                             int x, int y, unsigned int nglyph,
    00084                             CharInfoPtr *ppci, pointer pglyphBase);
    00085 extern void dmxPushPixels(GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDst,
    00086                           int w, int h, int x, int y);
    00087
    00088 extern void dmxGetImage(DrawablePtr pDrawable, int sx, int sy, int w, int h,
    00089                         unsigned int format, unsigned long planeMask,
    00090                         char *pdstLine);
    00091 extern void dmxGetSpans(DrawablePtr pDrawable, int wMax,
    00092                         DDXPointPtr ppt, int *pwidth, int nspans,
    00093                         char *pdstStart);
    00094
    00095 #endif /* DMXGCOPS_H */

Generated June 29, 2004 for Distributed Multihead X by doxygen 1.3.4. </addres>