1596 |
case 2: /* Hatch */ |
case 2: /* Hatch */ |
1597 |
fill = (Pixmap) ui_create_glyph(8, 8, |
fill = (Pixmap) ui_create_glyph(8, 8, |
1598 |
hatch_patterns + brush->pattern[0] * 8); |
hatch_patterns + brush->pattern[0] * 8); |
1599 |
SET_FOREGROUND(bgcolour); |
SET_FOREGROUND(fgcolour); |
1600 |
SET_BACKGROUND(fgcolour); |
SET_BACKGROUND(bgcolour); |
1601 |
XSetFillStyle(g_display, g_gc, FillOpaqueStippled); |
XSetFillStyle(g_display, g_gc, FillOpaqueStippled); |
1602 |
XSetStipple(g_display, g_gc, fill); |
XSetStipple(g_display, g_gc, fill); |
1603 |
XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin); |
XSetTSOrigin(g_display, g_gc, brush->xorigin, brush->yorigin); |