Lines Matching refs:image_gc
281 if (!gfx->image_gc) in put_sub_image_colormap()
282 gfx->image_gc = XCreateGC(gfx->display, pixmap, 0, 0); in put_sub_image_colormap()
283 if (!gfx->image_gc) in put_sub_image_colormap()
388 XPutImage(gfx->display, pixmap, gfx->image_gc, ximage, 0, 0, in put_sub_image_colormap()
576 if (!gfx->image_gc) in apply_background()
577 gfx->image_gc = XCreateGC(gfx->display, pixmap, 0, 0); in apply_background()
578 if (!gfx->image_gc) in apply_background()
580 XSetForeground(gfx->display, gfx->image_gc, bg_pixel); in apply_background()
585 XFillRectangle(gfx->display, pixmap, gfx->image_gc, in apply_background()
588 XFillRectangle(gfx->display, pixmap, gfx->image_gc, in apply_background()
619 XSetClipMask(gfx->display, gfx->image_gc, mask); in apply_image()
620 XSetClipOrigin(gfx->display, gfx->image_gc, gfi->left, gfi->top); in apply_image()
621 XCopyArea(gfx->display, image, pixmap, gfx->image_gc, in apply_image()
623 XSetClipMask(gfx->display, gfx->image_gc, None); in apply_image()
626 XCopyArea(gfx->display, image, pixmap, gfx->image_gc, in apply_image()
717 XCopyArea(gfx->display, frames[scani].pixmap, result, gfx->image_gc, in Gif_XNextImage()
811 gfx->image_gc = None; in Gif_NewXContextFromVisual()
840 if (gfx->image_gc) in Gif_DeleteXContext()
841 XFreeGC(gfx->display, gfx->image_gc); in Gif_DeleteXContext()