Lines Matching refs:pDrawable

78 void dmxFillSpans(DrawablePtr pDrawable, GCPtr pGC,
86 void dmxSetSpans(DrawablePtr pDrawable, GCPtr pGC,
94 * pDrawable's screen. If primitive subdivision optimization is
97 void dmxPutImage(DrawablePtr pDrawable, GCPtr pGC,
101 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
105 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
117 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
135 -pDrawable->x, -pDrawable->y);
220 /** Render list of points, \a pptInit in \a pDrawable on the back-end
221 * server associated with \a pDrawable's screen. If the offscreen
222 * optimization is enabled, only draw when \a pDrawable is at least
224 void dmxPolyPoint(DrawablePtr pDrawable, GCPtr pGC,
227 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
231 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
233 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
240 /** Render list of connected lines, \a pptInit in \a pDrawable on the
241 * back-end server associated with \a pDrawable's screen. If the
242 * offscreen optimization is enabled, only draw when \a pDrawable is at
244 void dmxPolylines(DrawablePtr pDrawable, GCPtr pGC,
247 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
251 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
253 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
260 /** Render list of disjoint segments, \a pSegs in \a pDrawable on the
261 * back-end server associated with \a pDrawable's screen. If the
262 * offscreen optimization is enabled, only draw when \a pDrawable is at
264 void dmxPolySegment(DrawablePtr pDrawable, GCPtr pGC,
267 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
271 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
273 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
280 /** Render list of rectangle outlines, \a pRects in \a pDrawable on the
281 * back-end server associated with \a pDrawable's screen. If the
282 * offscreen optimization is enabled, only draw when \a pDrawable is at
284 void dmxPolyRectangle(DrawablePtr pDrawable, GCPtr pGC,
287 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
291 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
293 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
301 /** Render list of arc outlines, \a parcs in \a pDrawable on the
302 * back-end server associated with \a pDrawable's screen. If the
303 * offscreen optimization is enabled, only draw when \a pDrawable is at
305 void dmxPolyArc(DrawablePtr pDrawable, GCPtr pGC,
308 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
312 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
314 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
321 /** Render a filled polygons in \a pDrawable on the back-end server
322 * associated with \a pDrawable's screen. If the offscreen
323 * optimization is enabled, only draw when \a pDrawable is at least
325 void dmxFillPolygon(DrawablePtr pDrawable, GCPtr pGC,
328 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
332 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
334 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
341 /** Render list of filled rectangles, \a prectInit in \a pDrawable on
342 * the back-end server associated with \a pDrawable's screen. If the
343 * offscreen optimization is enabled, only draw when \a pDrawable is at
345 void dmxPolyFillRect(DrawablePtr pDrawable, GCPtr pGC,
348 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
352 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
354 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
361 /** Render list of filled arcs, \a parcs in \a pDrawable on the back-end
362 * server associated with \a pDrawable's screen. If the offscreen
363 * optimization is enabled, only draw when \a pDrawable is at least
365 void dmxPolyFillArc(DrawablePtr pDrawable, GCPtr pGC,
368 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
372 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
374 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
381 /** Render string of 8-bit \a chars (foreground only) in \a pDrawable on
382 * the back-end server associated with \a pDrawable's screen. If the
383 * offscreen optimization is enabled, only draw when \a pDrawable is at
385 int dmxPolyText8(DrawablePtr pDrawable, GCPtr pGC,
388 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
402 if (n != 0 && !DMX_GCOPS_OFFSCREEN(pDrawable)) {
403 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
413 /** Render string of 16-bit \a chars (foreground only) in \a pDrawable
414 * on the back-end server associated with \a pDrawable's screen. If
415 * the offscreen optimization is enabled, only draw when \a pDrawable
417 int dmxPolyText16(DrawablePtr pDrawable, GCPtr pGC,
420 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
435 if (n != 0 && !DMX_GCOPS_OFFSCREEN(pDrawable)) {
436 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
447 * \a pDrawable on the back-end server associated with \a pDrawable's
449 * pDrawable is at least partially visible. */
450 void dmxImageText8(DrawablePtr pDrawable, GCPtr pGC,
453 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
457 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
459 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
467 * \a pDrawable on the back-end server associated with \a pDrawable's
469 * pDrawable is at least partially visible. */
470 void dmxImageText16(DrawablePtr pDrawable, GCPtr pGC,
473 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
477 if (DMX_GCOPS_OFFSCREEN(pDrawable)) return;
479 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
487 void dmxImageGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
495 void dmxPolyGlyphBlt(DrawablePtr pDrawable, GCPtr pGC,
517 static DMXScreenInfo *dmxFindAlternatePixmap(DrawablePtr pDrawable, XID *draw)
525 if (pDrawable->type != DRAWABLE_PIXMAP) return NULL;
528 pDrawable->id, XRT_PIXMAP,
551 /** Get an image from the back-end server associated with \a pDrawable's
552 * screen. If \a pDrawable is a window, it must be viewable to get an
554 * first ancestor of \a pDrawable that is viewable. If no viewable
556 void dmxGetImage(DrawablePtr pDrawable, int sx, int sy, int w, int h,
559 DMXScreenInfo *dmxScreen = &dmxScreens[pDrawable->pScreen->myNum];
564 if (pDrawable->type == DRAWABLE_WINDOW) {
565 WindowPtr pWindow = (WindowPtr)pDrawable;
580 DMX_GCOPS_SET_DRAWABLE(pDrawable, draw);
581 if (DMX_GCOPS_OFFSCREEN(pDrawable)) {
583 dmxScreen = dmxFindAlternatePixmap(pDrawable, &draw);
600 void dmxGetSpans(DrawablePtr pDrawable, int wMax,