Lines Matching defs:g_gc

112 static GC g_gc = NULL;
208 XSetClipRectangles(g_display, g_gc, 0, 0, &rect, 1, YXBanded); \
211 XSetClipRectangles(g_display, g_gc, 0, 0, &g_clip_rectangle, 1, YXBanded); \
219 XFillPolygon(g_display, d, g_gc, points, npoints, Complex, CoordModePrevious);
229 XDrawLines(g_display, d, g_gc, points, npoints, CoordModePrevious);
236 XFillRectangle(g_display, g_wnd, g_gc, x, y, cx, cy); \
237 ON_ALL_SEAMLESS_WINDOWS(XFillRectangle, (g_display, sw->wnd, g_gc, x-sw->xoffset, y-sw->yoffset, cx, cy)); \
239 XFillRectangle(g_display, g_backstore, g_gc, x, y, cx, cy); \
244 XFillRectangle(g_display, g_ownbackstore ? g_backstore : g_wnd, g_gc, x, y, cx, cy); \
249 XFillPolygon(g_display, g_wnd, g_gc, p, np, Complex, CoordModePrevious); \
251 XFillPolygon(g_display, g_backstore, g_gc, p, np, Complex, CoordModePrevious); \
260 XDrawArc(g_display, g_wnd, g_gc, x, y, cx, cy, 0, 360*64); \
261 ON_ALL_SEAMLESS_WINDOWS(XDrawArc, (g_display, sw->wnd, g_gc, x-sw->xoffset, y-sw->yoffset, cx, cy, 0, 360*64)); \
263 XDrawArc(g_display, g_backstore, g_gc, x, y, cx, cy, 0, 360*64); \
266 XFillArc(g_display, g_wnd, g_gc, x, y, cx, cy, 0, 360*64); \
267 ON_ALL_SEAMLESS_WINDOWS(XFillArc, (g_display, sw->wnd, g_gc, x-sw->xoffset, y-sw->yoffset, cx, cy, 0, 360*64)); \
269 XFillArc(g_display, g_backstore, g_gc, x, y, cx, cy, 0, 360*64); \
280 #define SET_FOREGROUND(col) XSetForeground(g_display, g_gc, TRANSLATE(col));
281 #define SET_BACKGROUND(col) XSetBackground(g_display, g_gc, TRANSLATE(col));
302 #define SET_FUNCTION(rop2) { if (rop2 != ROP2_COPY) XSetFunction(g_display, g_gc, rop2_map[rop2]); }
303 #define RESET_FUNCTION(rop2) { if (rop2 != ROP2_COPY) XSetFunction(g_display, g_gc, GXcopy); }
1983 XFreeGC(g_display, g_gc);
2044 if (g_gc == NULL)
2046 g_gc = XCreateGC(g_display, g_wnd, 0, NULL);
2058 XSetForeground(g_display, g_gc, BlackPixelOfScreen(g_screen));
2059 XFillRectangle(g_display, g_backstore, g_gc, 0, 0, g_width, g_height);
2166 XSetForeground(g_display, g_gc, BlackPixelOfScreen(g_screen));
2167 XFillRectangle(g_display, bs, g_gc, 0, 0, g_width, g_height);
2168 XCopyArea(g_display, g_backstore, bs, g_gc, 0, 0, g_width, g_height, 0, 0);
2209 XCopyArea(g_display, g_wnd, contents, g_gc, 0, 0, g_width, g_height, 0, 0);
2220 XCopyArea(g_display, contents, g_wnd, g_gc, 0, 0, g_width, g_height, 0, 0);
2542 g_gc,
2553 xevent.xexpose.window, g_gc,
2815 XPutImage(g_display, g_backstore, g_gc, image, 0, 0, x, y, cx, cy);
2816 XCopyArea(g_display, g_backstore, g_wnd, g_gc, x, y, cx, cy, x, y);
2818 (g_display, g_backstore, sw->wnd, g_gc, x, y, cx, cy,
2823 XPutImage(g_display, g_wnd, g_gc, image, 0, 0, x, y, cx, cy);
2825 (g_display, g_wnd, sw->wnd, g_gc, x, y, cx, cy,
3163 XSetClipRectangles(g_display, g_gc, 0, 0, &g_clip_rectangle, 1, YXBanded);
3173 XSetClipRectangles(g_display, g_gc, 0, 0, &g_clip_rectangle, 1, YXBanded);
3222 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3223 XSetStipple(g_display, g_gc, fill);
3224 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3226 XSetFillStyle(g_display, g_gc, FillSolid);
3227 XSetTSOrigin(g_display, g_gc, 0, 0);
3239 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3240 XSetStipple(g_display, g_gc, fill);
3241 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3243 XSetFillStyle(g_display, g_gc, FillSolid);
3244 XSetTSOrigin(g_display, g_gc, 0, 0);
3250 XSetFillStyle(g_display, g_gc, FillTiled);
3251 XSetTile(g_display, g_gc, fill);
3252 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3254 XSetFillStyle(g_display, g_gc, FillSolid);
3255 XSetTSOrigin(g_display, g_gc, 0, 0);
3263 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3264 XSetStipple(g_display, g_gc, fill);
3265 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3267 XSetFillStyle(g_display, g_gc, FillSolid);
3268 XSetTSOrigin(g_display, g_gc, 0, 0);
3280 XCopyArea(g_display, g_backstore, g_wnd, g_gc, x, y, cx, cy, x, y);
3282 (g_display, g_ownbackstore ? g_backstore : g_wnd, sw->wnd, g_gc,
3295 g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
3296 XCopyArea(g_display, g_backstore, g_backstore, g_gc, srcx, srcy, cx, cy, x, y);
3300 XCopyArea(g_display, g_wnd, g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
3305 sw->wnd, g_gc, x, y, cx, cy, x - sw->xoffset, y - sw->yoffset));
3316 XCopyArea(g_display, (Pixmap) src, g_wnd, g_gc, srcx, srcy, cx, cy, x, y);
3318 (g_display, (Pixmap) src, sw->wnd, g_gc,
3321 XCopyArea(g_display, (Pixmap) src, g_backstore, g_gc, srcx, srcy, cx, cy, x, y);
3365 XDrawLine(g_display, g_wnd, g_gc, startx, starty, endx, endy);
3366 ON_ALL_SEAMLESS_WINDOWS(XDrawLine, (g_display, sw->wnd, g_gc,
3370 XDrawLine(g_display, g_backstore, g_gc, startx, starty, endx, endy);
3397 XSetFillRule(g_display, g_gc, EvenOddRule);
3400 XSetFillRule(g_display, g_gc, WindingRule);
3423 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3424 XSetStipple(g_display, g_gc, fill);
3425 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3427 XSetFillStyle(g_display, g_gc, FillSolid);
3428 XSetTSOrigin(g_display, g_gc, 0, 0);
3440 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3441 XSetStipple(g_display, g_gc, fill);
3442 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3444 XSetFillStyle(g_display, g_gc, FillSolid);
3445 XSetTSOrigin(g_display, g_gc, 0, 0);
3451 XSetFillStyle(g_display, g_gc, FillTiled);
3452 XSetTile(g_display, g_gc, fill);
3453 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3455 XSetFillStyle(g_display, g_gc, FillSolid);
3456 XSetTSOrigin(g_display, g_gc, 0, 0);
3464 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3465 XSetStipple(g_display, g_gc, fill);
3466 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3468 XSetFillStyle(g_display, g_gc, FillSolid);
3469 XSetTSOrigin(g_display, g_gc, 0, 0);
3489 XDrawLines(g_display, g_wnd, g_gc, (XPoint *) points, npoints, CoordModePrevious);
3491 XDrawLines(g_display, g_backstore, g_gc, (XPoint *) points, npoints,
3528 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3529 XSetStipple(g_display, g_gc, fill);
3530 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3532 XSetFillStyle(g_display, g_gc, FillSolid);
3533 XSetTSOrigin(g_display, g_gc, 0, 0);
3545 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3546 XSetStipple(g_display, g_gc, fill);
3547 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3549 XSetFillStyle(g_display, g_gc, FillSolid);
3550 XSetTSOrigin(g_display, g_gc, 0, 0);
3556 XSetFillStyle(g_display, g_gc, FillTiled);
3557 XSetTile(g_display, g_gc, fill);
3558 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3560 XSetFillStyle(g_display, g_gc, FillSolid);
3561 XSetTSOrigin(g_display, g_gc, 0, 0);
3569 XSetFillStyle(g_display, g_gc, FillOpaqueStippled);
3570 XSetStipple(g_display, g_gc, fill);
3571 XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin);
3573 XSetFillStyle(g_display, g_gc, FillSolid);
3574 XSetTSOrigin(g_display, g_gc, 0, 0);
3596 XSetFillStyle(g_display, g_gc,
3598 XSetStipple(g_display, g_gc, (Pixmap) glyph);
3599 XSetTSOrigin(g_display, g_gc, x, y);
3603 XSetFillStyle(g_display, g_gc, FillSolid);
3632 XSetStipple(g_display, g_gc, (Pixmap) glyph->pixmap);\
3633 XSetTSOrigin(g_display, g_gc, x1, y1);\
3671 XSetFillStyle(g_display, g_gc, FillStippled);
3739 XSetFillStyle(g_display, g_gc, FillSolid);
3745 XCopyArea(g_display, g_backstore, g_wnd, g_gc, boxx,
3748 (g_display, g_backstore, sw->wnd, g_gc,
3755 XCopyArea(g_display, g_backstore, g_wnd, g_gc, clipx,
3758 (g_display, g_backstore, sw->wnd, g_gc,
3780 XCopyArea(g_display, g_wnd, pix, g_gc, x, y, cx, cy, 0, 0);
3808 XPutImage(g_display, g_backstore, g_gc, image, 0, 0, x, y, cx, cy);
3809 XCopyArea(g_display, g_backstore, g_wnd, g_gc, x, y, cx, cy, x, y);
3811 (g_display, g_backstore, sw->wnd, g_gc,
3816 XPutImage(g_display, g_wnd, g_gc, image, 0, 0, x, y, cx, cy);
3818 (g_display, g_wnd, sw->wnd, g_gc, x, y, cx, cy,
4421 sw->wnd, g_gc,