78 |
XFillRectangle(display, backstore, gc, x, y, cx, cy); \ |
XFillRectangle(display, backstore, gc, x, y, cx, cy); \ |
79 |
} |
} |
80 |
|
|
81 |
#define FILL_RECTANGLE_FAST(x,y,cx,cy)\ |
#define FILL_RECTANGLE_BACKSTORE(x,y,cx,cy)\ |
82 |
{ \ |
{ \ |
83 |
XFillRectangle(display, ownbackstore ? backstore : wnd, gc, x, y, cx, cy); \ |
XFillRectangle(display, ownbackstore ? backstore : wnd, gc, x, y, cx, cy); \ |
84 |
} |
} |
1192 |
XSetStipple(display, gc, (Pixmap) glyph); |
XSetStipple(display, gc, (Pixmap) glyph); |
1193 |
XSetTSOrigin(display, gc, x, y); |
XSetTSOrigin(display, gc, x, y); |
1194 |
|
|
1195 |
FILL_RECTANGLE_FAST(x, y, cx, cy); |
FILL_RECTANGLE_BACKSTORE(x, y, cx, cy); |
1196 |
|
|
1197 |
XSetFillStyle(display, gc, FillSolid); |
XSetFillStyle(display, gc, FillSolid); |
1198 |
} |
} |
1244 |
|
|
1245 |
if (boxcx > 1) |
if (boxcx > 1) |
1246 |
{ |
{ |
1247 |
FILL_RECTANGLE_FAST(boxx, boxy, boxcx, boxcy); |
FILL_RECTANGLE_BACKSTORE(boxx, boxy, boxcx, boxcy); |
1248 |
} |
} |
1249 |
else if (mixmode == MIX_OPAQUE) |
else if (mixmode == MIX_OPAQUE) |
1250 |
{ |
{ |
1251 |
FILL_RECTANGLE_FAST(clipx, clipy, clipcx, clipcy); |
FILL_RECTANGLE_BACKSTORE(clipx, clipy, clipcx, clipcy); |
1252 |
} |
} |
1253 |
|
|
1254 |
/* Paint text, character by character */ |
/* Paint text, character by character */ |