Commit | Line | Data |
---|---|---|
33972934 RC |
1 | #ifndef lint |
2 | static char sccsid[] = "@(#)point.c 4.1 (Berkeley) %G%"; | |
3 | #endif | |
4 | ||
5 | #include "aed.h" | |
6 | ||
7 | /*--------------------------------------------------------- | |
8 | * This routine plots a single point. | |
9 | * | |
10 | * Results: None. | |
11 | * | |
12 | * Side Effects: | |
13 | * A single point is displayed on the screen. | |
14 | * The point is made the current point. | |
15 | *--------------------------------------------------------- | |
16 | */ | |
17 | point(x, y) | |
18 | int x, y; | |
19 | { | |
20 | setcolor("01"); | |
21 | putc('Q', stdout); | |
22 | outxy20(x, y); | |
23 | fputs("O01", stdout); | |
24 | (void) fflush(stdout); | |
25 | curx = x; | |
26 | cury = y; | |
27 | } |