1 |
/* $Header$ */ |
/* $Header$ */ |
2 |
/* |
/* |
3 |
* Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology |
* Copyright 1985, 1986, 1987 by the Massachusetts Institute of Technology |
4 |
* |
* |
5 |
* Permission to use, copy, modify, and distribute this software and its |
* Permission to use, copy, modify, and distribute this software and its |
6 |
* documentation for any purpose and without fee is hereby granted, provided |
* documentation for any purpose and without fee is hereby granted, provided |
7 |
* that the above copyright notice appear in all copies and that both that |
* that the above copyright notice appear in all copies and that both that |
8 |
* copyright notice and this permission notice appear in supporting |
* copyright notice and this permission notice appear in supporting |
9 |
* documentation, and that the name of M.I.T. not be used in advertising |
* documentation, and that the name of M.I.T. not be used in advertising |
10 |
* or publicity pertaining to distribution of the software without specific, |
* or publicity pertaining to distribution of the software without specific, |
11 |
* written prior permission. M.I.T. makes no representations about the |
* written prior permission. M.I.T. makes no representations about the |
12 |
* suitability of this software for any purpose. It is provided "as is" |
* suitability of this software for any purpose. It is provided "as is" |
13 |
* without express or implied warranty. |
* without express or implied warranty. |
14 |
* |
* |
38 |
#define VertexCurved 0x0004 /* else straight */ |
#define VertexCurved 0x0004 /* else straight */ |
39 |
#define VertexStartClosed 0x0008 /* else not */ |
#define VertexStartClosed 0x0008 /* else not */ |
40 |
#define VertexEndClosed 0x0010 /* else not */ |
#define VertexEndClosed 0x0010 /* else not */ |
41 |
/*#define VertexDrawLastPoint 0x0020 */ /* else don't */ |
/*#define VertexDrawLastPoint 0x0020 */ /* else don't */ |
42 |
|
|
43 |
/* |
/* |
44 |
The VertexDrawLastPoint option has not been implemented in XDraw and |
The VertexDrawLastPoint option has not been implemented in XDraw and |
45 |
XDrawFilled so it shouldn't be defined. |
XDrawFilled so it shouldn't be defined. |
46 |
*/ |
*/ |
47 |
|
|
48 |
/* |
/* |
49 |
* XAssoc - Associations used in the XAssocTable data structure. The |
* XAssoc - Associations used in the XAssocTable data structure. The |
50 |
* associations are used as circular queue entries in the association table |
* associations are used as circular queue entries in the association table |
51 |
* which is contains an array of circular queues (buckets). |
* which is contains an array of circular queues (buckets). |
52 |
*/ |
*/ |
58 |
char *data; /* Pointer to untyped memory. */ |
char *data; /* Pointer to untyped memory. */ |
59 |
} XAssoc; |
} XAssoc; |
60 |
|
|
61 |
/* |
/* |
62 |
* XAssocTable - X Window System id to data structure pointer association |
* XAssocTable - X Window System id to data structure pointer association |
63 |
* table. An XAssocTable is a hash table whose buckets are circular |
* table. An XAssocTable is a hash table whose buckets are circular |
64 |
* queues of XAssoc's. The XAssocTable is constructed from an array of |
* queues of XAssoc's. The XAssocTable is constructed from an array of |
65 |
* XAssoc's which are the circular queue headers (bucket headers). |
* XAssoc's which are the circular queue headers (bucket headers). |
66 |
* An XAssocTable consists an XAssoc pointer that points to the first |
* An XAssocTable consists an XAssoc pointer that points to the first |
67 |
* bucket in the bucket array and an integer that indicates the number |
* bucket in the bucket array and an integer that indicates the number |
68 |
* of buckets in the array. |
* of buckets in the array. |