1126 |
FILL_RECTANGLE(x, y, cx, cy); |
FILL_RECTANGLE(x, y, cx, cy); |
1127 |
} |
} |
1128 |
|
|
1129 |
|
/* warning, this function only draws on wnd or backstore, not both */ |
1130 |
void |
void |
1131 |
ui_draw_glyph(int mixmode, |
ui_draw_glyph(int mixmode, |
1132 |
/* dest */ int x, int y, int cx, int cy, |
/* dest */ int x, int y, int cx, int cy, |
1141 |
XSetStipple(display, gc, (Pixmap) glyph); |
XSetStipple(display, gc, (Pixmap) glyph); |
1142 |
XSetTSOrigin(display, gc, x, y); |
XSetTSOrigin(display, gc, x, y); |
1143 |
|
|
1144 |
FILL_RECTANGLE(x, y, cx, cy); |
if (ownbackstore) |
1145 |
|
XFillRectangle(display, backstore, gc, x, y, cx, cy); |
1146 |
|
else |
1147 |
|
XFillRectangle(display, wnd, gc, x, y, cx, cy); |
1148 |
|
|
1149 |
XSetFillStyle(display, gc, FillSolid); |
XSetFillStyle(display, gc, FillSolid); |
1150 |
} |
} |
1253 |
break; |
break; |
1254 |
} |
} |
1255 |
} |
} |
1256 |
|
if (ownbackstore) |
1257 |
|
{ |
1258 |
|
if (boxcx > 1) |
1259 |
|
XCopyArea(display, backstore, wnd, gc, boxx, |
1260 |
|
boxy, boxcx, boxcy, boxx, boxy); |
1261 |
|
else |
1262 |
|
XCopyArea(display, backstore, wnd, gc, clipx, |
1263 |
|
clipy, clipcx, clipcy, clipx, clipy); |
1264 |
|
} |
1265 |
} |
} |
1266 |
|
|
1267 |
void |
void |