head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.30; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.30; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.17; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.50; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @ File Index
Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

dmxgcops.c File Reference

#include "dmx.h"
#include "dmxsync.h"
#include "dmxgc.h"
#include "dmxgcops.h"
#include "dmxwindow.h"
#include "dmxpixmap.h"
#include "mi.h"
#include "gcstruct.h"
#include "pixmapstr.h"
#include "dixfontstr.h"

Functions

void dmxFillSpans (DrawablePtr pDrawable, GCPtr pGC, int nInit, DDXPointPtr pptInit, int *pwidthInit, int fSorted)
void dmxSetSpans (DrawablePtr pDrawable, GCPtr pGC, char *psrc, DDXPointPtr ppt, int *pwidth, int nspans, int fSorted)
void dmxPutImage (DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, int w, int h, int leftPad, int format, char *pBits)
RegionPtr dmxCopyArea (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int w, int h, int dstx, int dsty)
RegionPtr dmxCopyPlane (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int width, int height, int dstx, int dsty, unsigned long bitPlane)
void dmxPolyPoint (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolylines (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolySegment (DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment *pSegs)
void dmxPolyRectangle (DrawablePtr pDrawable, GCPtr pGC, int nrects, xRectangle *pRects)
void dmxPolyArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
void dmxFillPolygon (DrawablePtr pDrawable, GCPtr pGC, int shape, int mode, int count, DDXPointPtr pPts)
void dmxPolyFillRect (DrawablePtr pDrawable, GCPtr pGC, int nrectFill, xRectangle *prectInit)
void dmxPolyFillArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
int dmxPolyText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
int dmxPolyText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
void dmxImageText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPolyGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPushPixels (GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDst, int w, int h, int x, int y)
void dmxGetImage (DrawablePtr pDrawable, int sx, int sy, int w, int h, unsigned int format, unsigned long planeMask, char *pdstLine)
void dmxGetSpans (DrawablePtr pDrawable, int wMax, DDXPointPtr ppt, int *pwidth, int nspans, char *pdstStart)

Detailed Description

This file provides support for GC operations.

Function Documentation

RegionPtr dmxCopyArea DrawablePtr  pSrc,
DrawablePtr  pDst,
GCPtr  pGC,
int  srcx,
int  srcy,
int  w,
int  h,
int  dstx,
int  dsty
 

Copy area from pSrc drawable to pDst drawable on the back-end server associated with pSrc drawable's screen. If the offscreen optimization is enabled, only copy when both pSrc and pDst are at least partially visible.

RegionPtr dmxCopyPlane DrawablePtr  pSrc,
DrawablePtr  pDst,
GCPtr  pGC,
int  srcx,
int  srcy,
int  width,
int  height,
int  dstx,
int  dsty,
unsigned long  bitPlane
 

Copy plane number bitPlane from pSrc drawable to pDst drawable on the back-end server associated with pSrc drawable's screen. If the offscreen optimization is enabled, only copy when both pSrc and pDst are at least partially visible.

void dmxFillPolygon DrawablePtr  pDrawable,
GCPtr  pGC,
int  shape,
int  mode,
int  count,
DDXPointPtr  pPts
 

Render a filled polygons in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxFillSpans DrawablePtr  pDrawable,
GCPtr  pGC,
int  nInit,
DDXPointPtr  pptInit,
int *  pwidthInit,
int  fSorted
 

Fill spans -- this function should never be called.

void dmxGetImage DrawablePtr  pDrawable,
int  sx,
int  sy,
int  w,
int  h,
unsigned int  format,
unsigned long  planeMask,
char *  pdstLine
 

Get an image from the back-end server associated with pDrawable's screen. If pDrawable is a window, it must be viewable to get an image from it. If it is not viewable, then get the image from the first ancestor of pDrawable that is viewable. If no viewable ancestor is found, then simply return without getting an image.

void dmxGetSpans DrawablePtr  pDrawable,
int  wMax,
DDXPointPtr  ppt,
int *  pwidth,
int  nspans,
char *  pdstStart
 

Get Spans -- this function should never be called.

void dmxImageGlyphBlt DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
unsigned int  nglyph,
CharInfoPtr *  ppci,
pointer  pglyphBase
 

Image Glyph Blt -- this function should never be called.

void dmxImageText16 DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
unsigned short *  chars
 

Render string of 16-bit chars (both foreground and background) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxImageText8 DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
char *  chars
 

Render string of 8-bit chars (both foreground and background) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxPolyArc DrawablePtr  pDrawable,
GCPtr  pGC,
int  narcs,
xArc *  parcs
 

Render list of arc outlines, parcs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxPolyFillArc DrawablePtr  pDrawable,
GCPtr  pGC,
int  narcs,
xArc *  parcs
 

Render list of filled arcs, parcs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxPolyFillRect DrawablePtr  pDrawable,
GCPtr  pGC,
int  nrectFill,
xRectangle *  prectInit
 

Render list of filled rectangles, prectInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxPolyGlyphBlt DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
unsigned int  nglyph,
CharInfoPtr *  ppci,
pointer  pglyphBase
 

Poly Glyph Blt -- this function should never be called.

void dmxPolylines DrawablePtr  pDrawable,
GCPtr  pGC,
int  mode,
int  npt,
DDXPointPtr  pptInit
 

Render list of connected lines, pptInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxPolyPoint DrawablePtr  pDrawable,
GCPtr  pGC,
int  mode,
int  npt,
DDXPointPtr  pptInit
 

Render list of points, pptInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxPolyRectangle DrawablePtr  pDrawable,
GCPtr  pGC,
int  nrects,
xRectangle *  pRects
 

Render list of rectangle outlines, pRects in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxPolySegment DrawablePtr  pDrawable,
GCPtr  pGC,
int  nseg,
xSegment *  pSegs
 

Render list of disjoint segments, pSegs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

int dmxPolyText16 DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
unsigned short *  chars
 

Render string of 16-bit chars (foreground only) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

int dmxPolyText8 DrawablePtr  pDrawable,
GCPtr  pGC,
int  x,
int  y,
int  count,
char *  chars
 

Render string of 8-bit chars (foreground only) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

void dmxPushPixels GCPtr  pGC,
PixmapPtr  pBitMap,
DrawablePtr  pDst,
int  w,
int  h,
int  x,
int  y
 

Push Pixels -- this function should never be called.

void dmxPutImage DrawablePtr  pDrawable,
GCPtr  pGC,
int  depth,
int  x,
int  y,
int  w,
int  h,
int  leftPad,
int  format,
char *  pBits
 

Transfer pBits image to back-end server associated with pDrawable's screen. If primitive subdivision optimization is enabled, then only transfer the sections of pBits that are visible (i.e., not-clipped) to the back-end server.

void dmxSetSpans DrawablePtr  pDrawable,
GCPtr  pGC,
char *  psrc,
DDXPointPtr  ppt,
int *  pwidth,
int  nspans,
int  fSorted
 

Set spans -- this function should never be called.


Generated June 29, 2004 for Distributed Multihead X by doxygen 1.3.4. @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @initial import of xorg-server-1.4.2 @ text @@ 1.1.1.2 log @import xorg-server 1.9.2. important changes since 1.6.5 include: - built-in symbol visibility, default not export - fixes for various crashes - many fixes for XI2, EXA, dix, render, glx, xkb, EDID, randr, Xv, resource handling, Xext, vfb, xfree86 / vga and composite support. - fixes several memory leaks - many many documentation updates - record extension enabled - no longer looks for XF86Config files @ text @d9 59 a67 64

dmxgcops.c File Reference

#include "dmx.h"
#include "dmxsync.h"
#include "dmxgc.h"
#include "dmxgcops.h"
#include "dmxwindow.h"
#include "dmxpixmap.h"
#include "mi.h"
#include "gcstruct.h"
#include "pixmapstr.h"
#include "dixfontstr.h"
d69 7 a75 7

Detailed Description

This file provides support for GC operations.


Define Documentation

Defines

#define DMX_GCOPS_SET_DRAWABLE(_pDraw, _draw)
#define DMX_GCOPS_OFFSCREEN(_pDraw)

Functions

void dmxFillSpans (DrawablePtr pDrawable, GCPtr pGC, int nInit, DDXPointPtr pptInit, int *pwidthInit, int fSorted)
void dmxSetSpans (DrawablePtr pDrawable, GCPtr pGC, char *psrc, DDXPointPtr ppt, int *pwidth, int nspans, int fSorted)
void dmxPutImage (DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, int w, int h, int leftPad, int format, char *pBits)
RegionPtr dmxCopyArea (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int w, int h, int dstx, int dsty)
RegionPtr dmxCopyPlane (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int width, int height, int dstx, int dsty, unsigned long bitPlane)
void dmxPolyPoint (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolylines (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolySegment (DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment *pSegs)
void dmxPolyRectangle (DrawablePtr pDrawable, GCPtr pGC, int nrects, xRectangle *pRects)
void dmxPolyArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
void dmxFillPolygon (DrawablePtr pDrawable, GCPtr pGC, int shape, int mode, int count, DDXPointPtr pPts)
void dmxPolyFillRect (DrawablePtr pDrawable, GCPtr pGC, int nrectFill, xRectangle *prectInit)
void dmxPolyFillArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
int dmxPolyText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
int dmxPolyText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
void dmxImageText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPolyGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPushPixels (GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDst, int w, int h, int x, int y)
static DMXScreenInfodmxFindAlternatePixmap (DrawablePtr pDrawable, XID *draw)
void dmxGetImage (DrawablePtr pDrawable, int sx, int sy, int w, int h, unsigned int format, unsigned long planeMask, char *pdstLine)
void dmxGetSpans (DrawablePtr pDrawable, int wMax, DDXPointPtr ppt, int *pwidth, int nspans, char *pdstStart)
d77 4 a80 6 a81 17
#define DMX_GCOPS_OFFSCREEN (   _pDraw  ) 
Value:
(!dmxScreens[(_pDraw)->pScreen->myNum].beDisplay ||                     \
     (dmxOffScreenOpt &&                                                \
      (_pDraw)->type == DRAWABLE_WINDOW &&                              \
      (DMX_GET_WINDOW_PRIV((WindowPtr)(_pDraw))->offscreen ||           \
       !DMX_GET_WINDOW_PRIV((WindowPtr)(_pDraw))->window)))

Referenced by dmxCopyArea(), dmxCopyPlane(), dmxFillPolygon(), dmxGetImage(), dmxImageText16(), dmxImageText8(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), and dmxPutImage().

d83 4 a86 4 a88 1 d90 3 a92 2 d96 3 a98 2 a99 24
#define DMX_GCOPS_SET_DRAWABLE (   _pDraw,   _draw )
Value:
do {                                                                    \
    if ((_pDraw)->type == DRAWABLE_WINDOW) {                            \
        dmxWinPrivPtr  pWinPriv =                                       \
            DMX_GET_WINDOW_PRIV((WindowPtr)(_pDraw));                   \
        (_draw) = (Drawable)pWinPriv->window;                           \
    } else {                                                            \
        dmxPixPrivPtr  pPixPriv =                                       \
            DMX_GET_PIXMAP_PRIV((PixmapPtr)(_pDraw));                   \
        (_draw) = (Drawable)pPixPriv->pixmap;                           \
    }                                                                   \
} while (0)

Referenced by dmxCopyArea(), dmxCopyPlane(), dmxFillPolygon(), dmxGetImage(), dmxImageText16(), dmxImageText8(), dmxPolyArc(), dmxPolyFillArc(), dmxPolyFillRect(), dmxPolylines(), dmxPolyPoint(), dmxPolyRectangle(), dmxPolySegment(), dmxPolyText16(), dmxPolyText8(), and dmxPutImage().


Function Documentation

d101 4 a104 4 a106 1 a107 5 d109 2 a110 2 a112 1 a113 5 d115 2 a116 2 a118 1 a119 5 d121 2 a122 2 a124 1 a125 5 d127 2 a128 2 d132 2 a133 2 d135 1 d137 19 a155 12

Copy area from pSrc drawable to pDst drawable on the back-end server associated with pSrc drawable's screen. If the offscreen optimization is enabled, only copy when both pSrc and pDst are at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

RegionPtr dmxCopyArea ( DrawablePtr  pSrc, DrawablePtr  pDst,
GCPtr  pGC, int  srcx,
int  srcy, int  w,
int  h, int  dstx,
int  dsty )
d157 4 a160 4 a162 1 d164 3 a166 2 a168 1 d170 3 a172 2 a174 1 d176 3 a178 2 a180 1 d182 3 a184 2 a186 1 d188 3 a190 2 a192 1 d194 3 a196 2 a198 1 d200 3 a202 2 a204 1 d206 3 a208 2 a210 1 d212 3 a214 2 d218 2 a219 2 d221 1 d223 19 a241 12

Copy plane number bitPlane from pSrc drawable to pDst drawable on the back-end server associated with pSrc drawable's screen. If the offscreen optimization is enabled, only copy when both pSrc and pDst are at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

RegionPtr dmxCopyPlane ( DrawablePtr  pSrc, DrawablePtr  pDst, GCPtr  pGC, int  srcx, int  srcy, int  width, int  height, int  dstx, int  dsty, unsigned long  bitPlane )
d243 4 a246 4 a248 1 d250 3 a252 2 a254 1 d256 3 a258 2 a260 1 d262 3 a264 2 a266 1 d268 3 a270 2 a272 1 d274 3 a276 2 d280 2 a281 2 d283 1 d285 19 a303 12

Render a filled polygons in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxFillPolygon ( DrawablePtr  pDrawable, GCPtr  pGC, int  shape, int  mode, int  count, DDXPointPtr  pPts )
d305 4 a308 4 a310 1 d312 3 a314 2 a316 1 d318 3 a320 2 a322 1 d324 3 a326 2 a328 1 d330 3 a332 2 a334 1 d336 3 a338 2 d342 2 a343 2 d345 1 d347 19 a365 10

Fill spans -- this function should never be called.

void dmxFillSpans ( DrawablePtr  pDrawable, GCPtr  pGC, int  nInit, DDXPointPtr  pptInit, int *  pwidthInit, int  fSorted )
d367 4 a370 4 a372 1 d374 3 a376 2 d380 3 a382 2 a383 15
static DMXScreenInfo* dmxFindAlternatePixmap ( DrawablePtr  pDrawable, XID *  draw ) [static]

When Xinerama is active, the client pixmaps are always obtained from screen 0. When screen 0 is detached, the pixmaps must be obtained from any other screen that is not detached. Usually, this is screen 1.

References _DMXScreenInfo::beDisplay, DMX_GET_PIXMAP_PRIV, dmxScreens, and _dmxPixPriv::pixmap.

Referenced by dmxGetImage().

d385 4 a388 4 a390 1 d392 3 a394 2 a396 1 a397 5 d399 2 a400 2 a402 1 a403 5 d405 2 a406 2 a408 1 a409 5 d411 2 a412 2 d416 2 a417 2 d419 1 d421 19 a439 14

Get an image from the back-end server associated with pDrawable's screen. If pDrawable is a window, it must be viewable to get an image from it. If it is not viewable, then get the image from the first ancestor of pDrawable that is viewable. If no viewable ancestor is found, then simply return without getting an image.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, dmxFindAlternatePixmap(), dmxScreens, and dmxSync().

Referenced by dmxScreenInit().

void dmxGetImage ( DrawablePtr  pDrawable, int  sx, int  sy,
int  w, int  h,
unsigned int  format, unsigned long  planeMask,
char *  pdstLine )
d441 4 a444 4 a446 1 d448 3 a450 2 a452 1 d454 3 a456 2 a458 1 d460 3 a462 2 a464 1 d466 3 a468 2 a470 1 d472 3 a474 2 d478 2 a479 2 d481 1 d483 19 a501 12

Get Spans -- this function should never be called.

Referenced by dmxScreenInit().

void dmxGetSpans ( DrawablePtr  pDrawable, int  wMax, DDXPointPtr  ppt, int *  pwidth, int  nspans, char *  pdstStart )
d503 4 a506 4 a508 1 d510 3 a512 2 a514 1 d516 3 a518 2 a520 1 d522 3 a524 2 a526 1 d528 3 a530 2 a532 1 d534 3 a536 2 a538 1 d540 3 a542 2 d546 2 a547 2 d549 1 d551 19 a569 10

Image Glyph Blt -- this function should never be called.

void dmxImageGlyphBlt ( DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, unsigned int  nglyph, CharInfoPtr *  ppci, pointer  pglyphBase )
d571 4 a574 4 a576 1 d578 3 a580 2 a582 1 d584 3 a586 2 a588 1 d590 3 a592 2 a594 1 d596 3 a598 2 a600 1 d602 3 a604 2 d608 2 a609 2 d611 1 d613 19 a631 12

Render string of 16-bit chars (both foreground and background) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxImageText16 ( DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, int  count, unsigned short *  chars )
d633 4 a636 4 a638 1 d640 3 a642 2 a644 1 d646 3 a648 2 a650 1 d652 3 a654 2 a656 1 d658 3 a660 2 a662 1 d664 3 a666 2 d670 2 a671 2 d673 1 d675 19 a693 12

Render string of 8-bit chars (both foreground and background) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxImageText8 ( DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, int  count, char *  chars )
d695 4 a698 4 a700 1 d702 3 a704 2 a706 1 d708 3 a710 2 a712 1 d714 3 a716 2 d720 2 a721 2 d723 1 d725 19 a743 12

Render list of arc outlines, parcs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxPolyArc ( DrawablePtr  pDrawable, GCPtr  pGC, int  narcs, xArc *  parcs )
d745 4 a748 4 a750 1 d752 3 a754 2 a756 1 d758 3 a760 2 a762 1 d764 3 a766 2 d770 2 a771 2 d773 1 d775 19 a793 12

Render list of filled arcs, parcs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxPolyFillArc ( DrawablePtr  pDrawable, GCPtr  pGC, int  narcs, xArc *  parcs )
d795 4 a798 4 a800 1 d802 3 a804 2 a806 1 d808 3 a810 2 a812 1 d814 3 a816 2 d820 2 a821 2 d823 1 d825 19 a843 12

Render list of filled rectangles, prectInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxPolyFillRect ( DrawablePtr  pDrawable, GCPtr  pGC, int  nrectFill, xRectangle *  prectInit )
d845 4 a848 4 a850 1 d852 3 a854 2 a856 1 d858 3 a860 2 a862 1 d864 3 a866 2 a868 1 d870 3 a872 2 a874 1 d876 3 a878 2 a880 1 d882 3 a884 2 d888 2 a889 2 d891 1 d893 19 a911 10

Poly Glyph Blt -- this function should never be called.

void dmxPolyGlyphBlt ( DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, unsigned int  nglyph, CharInfoPtr *  ppci, pointer  pglyphBase )
d913 4 a916 4 a918 1 d920 3 a922 2 a924 1 d926 3 a928 2 a930 1 d932 3 a934 2 a936 1 d938 3 a940 2 d944 2 a945 2 d947 1 d949 19 a967 12

Render list of connected lines, pptInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxPolylines ( DrawablePtr  pDrawable, GCPtr  pGC, int  mode, int  npt, DDXPointPtr  pptInit )
d969 4 a972 4 a974 1 d976 3 a978 2 a980 1 d982 3 a984 2 a986 1 d988 3 a990 2 a992 1 d994 3 a996 2 d1000 2 a1001 2 d1003 1 d1005 19 a1023 12

Render list of points, pptInit in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxPolyPoint ( DrawablePtr  pDrawable, GCPtr  pGC, int  mode, int  npt, DDXPointPtr  pptInit )
d1025 4 a1028 4 a1030 1 d1032 3 a1034 2 a1036 1 d1038 3 a1040 2 a1042 1 d1044 3 a1046 2 d1050 2 a1051 2 d1053 1 d1055 19 a1073 12

Render list of rectangle outlines, pRects in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxPolyRectangle ( DrawablePtr  pDrawable, GCPtr  pGC, int  nrects, xRectangle *  pRects )
d1075 4 a1078 4 a1080 1 d1082 3 a1084 2 a1086 1 d1088 3 a1090 2 a1092 1 d1094 3 a1096 2 d1100 2 a1101 2 d1103 1 d1105 19 a1123 12

Render list of disjoint segments, pSegs in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

void dmxPolySegment ( DrawablePtr  pDrawable, GCPtr  pGC, int  nseg, xSegment *  pSegs )
d1125 4 a1128 4 a1130 1 d1132 3 a1134 2 a1136 1 d1138 3 a1140 2 a1142 1 d1144 3 a1146 2 a1148 1 d1150 3 a1152 2 a1154 1 d1156 3 a1158 2 d1162 2 a1163 2 d1165 1 d1167 19 a1185 12

Render string of 16-bit chars (foreground only) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

int dmxPolyText16 ( DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, int  count, unsigned short *  chars )
d1187 4 a1190 4 a1192 1 d1194 3 a1196 2 a1198 1 d1200 3 a1202 2 a1204 1 d1206 3 a1208 2 a1210 1 d1212 3 a1214 2 a1216 1 d1218 3 a1220 2 d1224 2 a1225 2 d1227 1 d1229 19 a1247 12

Render string of 8-bit chars (foreground only) in pDrawable on the back-end server associated with pDrawable's screen. If the offscreen optimization is enabled, only draw when pDrawable is at least partially visible.

References _DMXScreenInfo::beDisplay, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSync(), and _dmxGCPriv::gc.

int dmxPolyText8 ( DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, int  count, char *  chars )
d1249 4 a1252 4 a1254 1 d1256 3 a1258 2 a1260 1 d1262 3 a1264 2 a1266 1 d1268 3 a1270 2 a1272 1 d1274 3 a1276 2 a1278 1 d1280 3 a1282 2 a1284 1 d1286 3 a1288 2 d1292 2 a1293 2 d1295 1 d1297 19 a1315 10

Push Pixels -- this function should never be called.

void dmxPushPixels ( GCPtr  pGC, PixmapPtr  pBitMap, DrawablePtr  pDst, int  w, int  h, int  x, int  y )
d1317 4 a1320 4 a1322 1 d1324 3 a1326 2 a1328 1 d1330 3 a1332 2 a1334 1 d1336 3 a1338 2 a1340 1 d1342 3 a1344 2 a1346 1 d1348 3 a1350 2 a1352 1 d1354 3 a1356 2 a1358 1 d1360 3 a1362 2 a1364 1 d1366 3 a1368 2 a1370 1 d1372 3 a1374 2 d1378 2 a1379 2 d1381 1 d1383 19 a1401 12

Transfer pBits image to back-end server associated with pDrawable's screen. If primitive subdivision optimization is enabled, then only transfer the sections of pBits that are visible (i.e., not-clipped) to the back-end server.

References _DMXScreenInfo::beDefVisualIndex, _DMXScreenInfo::beDisplay, _DMXScreenInfo::beVisuals, DMX_GCOPS_OFFSCREEN, DMX_GCOPS_SET_DRAWABLE, DMX_GET_GC_PRIV, dmxScreens, dmxSubdividePrimitives, dmxSync(), and _dmxGCPriv::gc.

void dmxPutImage ( DrawablePtr  pDrawable, GCPtr  pGC, int  depth, int  x, int  y, int  w, int  h, int  leftPad, int  format, char *  pBits )
d1403 4 a1406 4 a1408 1 d1410 3 a1412 2 a1414 1 d1416 3 a1418 2 a1420 1 d1422 3 a1424 2 a1426 1 d1428 3 a1430 2 a1432 1 d1434 3 a1436 2 a1438 1 d1440 3 a1442 2 d1446 2 a1447 2 d1449 1 d1451 14 a1464 7

Set spans -- this function should never be called.

@ 1.1.1.3 log @initial import of xorg-server 1.10.3. highlights include: - fixes xorg bugs 29969, 30367, 30527, 30267, 30260, 29046, 30260, 31548, 28672, 24887, 32115, 21457, 32436, 21827, 28414, 24703, 32803, 16318, 33449, 33324, 33929, 35082, 35209, 36146, 36119 - many additional NULL checks - adjustments related to input ABI 12 - *lots* of dead code removal - vga arbitrator fixes - GL fixes - EDID fixes - conversion to using asprintf() in many places - many fixes from valgrind, compiler warnings see these for more details: http://lists.freedesktop.org/archives/xorg-announce/2011-February/001612.html http://lists.freedesktop.org/archives/xorg-announce/2011-April/001646.html http://lists.freedesktop.org/archives/xorg-announce/2011-May/001675.html http://lists.freedesktop.org/archives/xorg-announce/2011-July/001710.html @ text @d9 3 a11 2
void dmxSetSpans ( DrawablePtr  pDrawable, GCPtr  pGC, char *  psrc, DDXPointPtr  ppt, int *  pwidth, int  nspans, int  fSorted )
d46 2 a47 2 d50 23 a72 23 d74 3 a76 3

Detailed Description

This file provides support for GC operations.


Define Documentation

d84 3 a86 2 d109 1 a109 1 d115 2 a116 2 d121 1 a121 1 d150 2 a151 2 d156 2 a157 2 d162 2 a163 2 d168 2 a169 2 d174 2 a175 2 d180 2 a181 2 d186 2 a187 2 d192 2 a193 2 d198 2 a199 2 d204 1 a204 1 d222 2 a223 2 d228 2 a229 2 d234 2 a235 2 d240 2 a241 2 d246 2 a247 2 d252 2 a253 2 d258 2 a259 2 d264 2 a265 2 d270 2 a271 2 d276 2 a277 2 d282 1 a282 1 d300 2 a301 2 d306 2 a307 2 d312 2 a313 2 d318 2 a319 2 d324 2 a325 2 d330 2 a331 2 d336 1 a336 1 d354 2 a355 2 d360 2 a361 2 d366 2 a367 2 d372 2 a373 2 d378 2 a379 2 d384 2 a385 2 d390 1 a390 1 d406 2 a407 2 d412 2 a413 2 d418 1 a418 1 d438 2 a439 2 d444 2 a445 2 d450 2 a451 2 d456 2 a457 2 d462 2 a463 2 d468 2 a469 2 d474 2 a475 2 d480 2 a481 2 d486 1 a486 1 d506 2 a507 2 d512 2 a513 2 d518 2 a519 2 d524 2 a525 2 d530 2 a531 2 d536 2 a537 2 d542 1 a542 1 d560 2 a561 2 d566 2 a567 2 d572 2 a573 2 d578 2 a579 2 d584 2 a585 2 d590 2 a591 2 d596 2 a597 2 d602 1 a602 1 d618 2 a619 2 d624 2 a625 2 d630 2 a631 2 d636 2 a637 2 d642 2 a643 2 d648 2 a649 2 d654 1 a654 1 d672 2 a673 2 d678 2 a679 2 d684 2 a685 2 d690 2 a691 2 d696 2 a697 2 d702 2 a703 2 d708 1 a708 1 d726 2 a727 2 d732 2 a733 2 d738 2 a739 2 d744 2 a745 2 d750 1 a750 1 d768 2 a769 2 d774 2 a775 2 d780 2 a781 2 d786 2 a787 2 d792 1 a792 1 d810 2 a811 2 d816 2 a817 2 d822 2 a823 2 d828 2 a829 2 d834 1 a834 1 d852 2 a853 2 d858 2 a859 2 d864 2 a865 2 d870 2 a871 2 d876 2 a877 2 d882 2 a883 2 d888 2 a889 2 d894 1 a894 1 d910 2 a911 2 d916 2 a917 2 d922 2 a923 2 d928 2 a929 2 d934 2 a935 2 d940 1 a940 1 d958 2 a959 2 d964 2 a965 2 d970 2 a971 2 d976 2 a977 2 d982 2 a983 2 d988 1 a988 1 d1006 2 a1007 2 d1012 2 a1013 2 d1018 2 a1019 2 d1024 2 a1025 2 d1030 1 a1030 1 d1048 2 a1049 2 d1054 2 a1055 2 d1060 2 a1061 2 d1066 2 a1067 2 d1072 1 a1072 1 d1090 2 a1091 2 d1096 2 a1097 2 d1102 2 a1103 2 d1108 2 a1109 2 d1114 2 a1115 2 d1120 2 a1121 2 d1126 1 a1126 1 d1144 2 a1145 2 d1150 2 a1151 2 d1156 2 a1157 2 d1162 2 a1163 2 d1168 2 a1169 2 d1174 2 a1175 2 d1180 1 a1180 1 d1198 2 a1199 2 d1204 2 a1205 2 d1210 2 a1211 2 d1216 2 a1217 2 d1222 2 a1223 2 d1228 2 a1229 2 d1234 2 a1235 2 d1240 1 a1240 1 d1256 2 a1257 2 d1262 2 a1263 2 d1268 2 a1269 2 d1274 2 a1275 2 d1280 2 a1281 2 d1286 2 a1287 2 d1292 2 a1293 2 d1298 2 a1299 2 d1304 2 a1305 2 d1310 2 a1311 2 d1316 1 a1316 1 d1334 2 a1335 2 d1340 2 a1341 2 d1346 2 a1347 2 d1352 2 a1353 2 d1358 2 a1359 2 d1364 2 a1365 2 d1370 2 a1371 2 d1376 1 a1376 1 a1385 4
#define DMX_GCOPS_SET_DRAWABLE(_pDraw, _draw)
#define DMX_GCOPS_OFFSCREEN(_pDraw)
void dmxFillSpans (DrawablePtr pDrawable, GCPtr pGC, int nInit, DDXPointPtr pptInit, int *pwidthInit, int fSorted)
void dmxSetSpans (DrawablePtr pDrawable, GCPtr pGC, char *psrc, DDXPointPtr ppt, int *pwidth, int nspans, int fSorted)
void dmxPutImage (DrawablePtr pDrawable, GCPtr pGC, int depth, int x, int y, int w, int h, int leftPad, int format, char *pBits)
RegionPtr dmxCopyArea (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int w, int h, int dstx, int dsty)
RegionPtr dmxCopyPlane (DrawablePtr pSrc, DrawablePtr pDst, GCPtr pGC, int srcx, int srcy, int width, int height, int dstx, int dsty, unsigned long bitPlane)
void dmxPolyPoint (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolylines (DrawablePtr pDrawable, GCPtr pGC, int mode, int npt, DDXPointPtr pptInit)
void dmxPolySegment (DrawablePtr pDrawable, GCPtr pGC, int nseg, xSegment *pSegs)
void dmxPolyRectangle (DrawablePtr pDrawable, GCPtr pGC, int nrects, xRectangle *pRects)
void dmxPolyArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
void dmxFillPolygon (DrawablePtr pDrawable, GCPtr pGC, int shape, int mode, int count, DDXPointPtr pPts)
void dmxPolyFillRect (DrawablePtr pDrawable, GCPtr pGC, int nrectFill, xRectangle *prectInit)
void dmxPolyFillArc (DrawablePtr pDrawable, GCPtr pGC, int narcs, xArc *parcs)
int dmxPolyText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
int dmxPolyText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageText8 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, char *chars)
void dmxImageText16 (DrawablePtr pDrawable, GCPtr pGC, int x, int y, int count, unsigned short *chars)
void dmxImageGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPolyGlyphBlt (DrawablePtr pDrawable, GCPtr pGC, int x, int y, unsigned int nglyph, CharInfoPtr *ppci, pointer pglyphBase)
void dmxPushPixels (GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDst, int w, int h, int x, int y)
static DMXScreenInfodmxFindAlternatePixmap (DrawablePtr pDrawable, XID *draw)
void dmxGetImage (DrawablePtr pDrawable, int sx, int sy, int w, int h, unsigned int format, unsigned long planeMask, char *pdstLine)
void dmxGetSpans (DrawablePtr pDrawable, int wMax, DDXPointPtr ppt, int *pwidth, int nspans, char *pdstStart)
  _pDraw)   _draw DrawablePtr  pSrc, DrawablePtr  pDst, GCPtr  pGC, int  srcx, int  srcy, int  w, int  h, int  dstx, int  dsty DrawablePtr  pSrc, DrawablePtr  pDst, GCPtr  pGC, int  srcx, int  srcy, int  width, int  height, int  dstx, int  dsty, unsigned long  bitPlane DrawablePtr  pDrawable, GCPtr  pGC, int  shape, int  mode, int  count, DDXPointPtr  pPts DrawablePtr  pDrawable, GCPtr  pGC, int  nInit, DDXPointPtr  pptInit, int *  pwidthInit, int  fSorted DrawablePtr  pDrawable, XID *  draw  [static]DrawablePtr  pDrawable, int  sx, int  sy, int  w, int  h, unsigned int  format, unsigned long  planeMask, char *  pdstLine DrawablePtr  pDrawable, int  wMax, DDXPointPtr  ppt, int *  pwidth, int  nspans, char *  pdstStart DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, unsigned int  nglyph, CharInfoPtr *  ppci, pointer  pglyphBase DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, int  count, unsigned short *  chars DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, int  count, char *  chars DrawablePtr  pDrawable, GCPtr  pGC, int  narcs, xArc *  parcs DrawablePtr  pDrawable, GCPtr  pGC, int  narcs, xArc *  parcs DrawablePtr  pDrawable, GCPtr  pGC, int  nrectFill, xRectangle *  prectInit DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, unsigned int  nglyph, CharInfoPtr *  ppci, pointer  pglyphBase DrawablePtr  pDrawable, GCPtr  pGC, int  mode, int  npt, DDXPointPtr  pptInit DrawablePtr  pDrawable, GCPtr  pGC, int  mode, int  npt, DDXPointPtr  pptInit DrawablePtr  pDrawable, GCPtr  pGC, int  nrects, xRectangle *  pRects DrawablePtr  pDrawable, GCPtr  pGC, int  nseg, xSegment *  pSegs DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, int  count, unsigned short *  chars DrawablePtr  pDrawable, GCPtr  pGC, int  x, int  y, int  count, char *  chars GCPtr  pGC, PixmapPtr  pBitMap, DrawablePtr  pDst, int  w, int  h, int  x, int  y DrawablePtr  pDrawable, GCPtr  pGC, int  depth, int  x, int  y, int  w, int  h, int  leftPad, int  format, char *  pBits DrawablePtr  pDrawable, GCPtr  pGC, char *  psrc, DDXPointPtr  ppt, int *  pwidth, int  nspans, int  fSorted