| Name | Type | Default | Access |
|---|---|---|---|
| XmNcloseEndPoints | Boolean | False | CSG |
| XmNnullValue | float * | NULL | CSG |
| XmNpointArray | XintPolylinePoint * | { {10., 10.}, {20., 20.} {30., 30.}} | CSG |
| XmNpointCount | int | 3 | CSG |
| XmNdrawSymbolCallback | XtCallbackList | NULL | CSG |
typedef struct {
float x;
float y;
} XintPolylinePoint;
| Data Type | Member | Description |
|---|---|---|
| int | reason | Indicates why the callback was invoked. |
| XEvent * | event | Points to the XEvent that triggered the callback. |
| Boolean | doit | Set this flag to False to prevent the symbol from being drawn. |
| int | index | Index of the point which symbol is being drawn. |
| double | x,y | Location of the symbol. |
| double | symbol_size | Symbol size (can be changed). |
| Pixel | symbol_color | Symbol color (can be changed). |
| int | symbol_type | Symbol type (can be changed). |
Structure member symbol_type can be set to one of the following constants:
| Member Value | Description |
|---|---|
| XintSYMBOL_X | Draws an "X". |
| XintSYMBOL_PLUS | Draws a "+". |
| XintSYMBOL_SQUARE | Draws a square. |
| XintSYMBOL_CIRCLE | Draws a circle. |
| XintSYMBOL_TRIANGLE | Draws a triangle. |
| XintSYMBOL_DIAMOND | Draws a diamond. |
| XintSYMBOL_FILLED_SQUARE | Draws a filled square. |
| XintSYMBOL_FILLED_CIRCLE | Draws a filled circle. |
| XintSYMBOL_FILLED_TRIANGLE | Draws a filled triangle. |
| XintSYMBOL_FILLED_DIAMOND | Draws a filled diamond. |
Object XintCreatePolyline (...)
| Widget | parent | Parent of new Polyline object. |
| char * | name | Name of new Polyline object. |
| ArgList | arglist | List of resource/value items. |
| Cardinal | argcount | Number of items in arglist. |
Boolean XintIsPolyline (Object object)