2263 |
} |
} |
2264 |
|
|
2265 |
void |
void |
2266 |
|
ui_polyline(uint8 opcode, |
2267 |
|
/* dest */ POINT * points, int npoints, |
2268 |
|
/* pen */ PEN * pen) |
2269 |
|
{ |
2270 |
|
/* TODO: set join style */ |
2271 |
|
SET_FUNCTION(opcode); |
2272 |
|
SET_FOREGROUND(pen->colour); |
2273 |
|
XDrawLines(g_display, g_wnd, g_gc, (XPoint *) points, npoints, CoordModePrevious); |
2274 |
|
if (g_ownbackstore) |
2275 |
|
XDrawLines(g_display, g_backstore, g_gc, (XPoint *) points, npoints, |
2276 |
|
CoordModePrevious); |
2277 |
|
RESET_FUNCTION(opcode); |
2278 |
|
} |
2279 |
|
|
2280 |
|
void |
2281 |
ui_ellipse(uint8 opcode, |
ui_ellipse(uint8 opcode, |
2282 |
/* mode */ uint8 fillmode, |
/* mode */ uint8 fillmode, |
2283 |
/* dest */ int x, int y, int cx, int cy, |
/* dest */ int x, int y, int cx, int cy, |