 |
DECwindows Motif for OpenVMS Guide to Non-C
Bindings
DRAW POINTS
OpenVMS Format
X$DRAW_POINTS
(display, drawable_id, gc_id, points, num_points, point_mode)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
points
|
array
|
x$point
|
read
|
reference
|
num_points
|
longword
|
longword
|
read
|
reference
|
point_mode
|
longword
|
longword
|
read
|
reference
|
Arguments
point_mode
The coordinate mode of the points. The coordinates of the points can be
relative to the drawable origin or relative to the previous point. The
predefined values for point_mode are as follows:
X$C_COORD_MODE_ORIGIN
X$C_COORD_MODE_PREVIOUS
Other values specified in this argument are not valid.
DRAW RECTANGLE
OpenVMS Format
X$DRAW_RECTANGLE
(display, drawable_id, gc_id, x_coord, y_coord, width, height)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
x_coord
|
longword
|
longword
|
read
|
reference
|
y_coord
|
longword
|
longword
|
read
|
reference
|
width
|
longword
|
uns longword
|
read
|
reference
|
height
|
longword
|
uns longword
|
read
|
reference
|
Note
The X Protocol defines that only the least significant 16 bits of the
following longword arguments are transmitted to the server:
x_coord, y_coord,
width, height.
|
DRAW RECTANGLES
OpenVMS Format
X$DRAW_RECTANGLES
(display, drawable_id, gc_id, rectangles, num_rectangles)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
rectangles
|
array
|
x$rectangle
|
read
|
reference
|
num_rectangles
|
longword
|
longword
|
read
|
reference
|
DRAW SEGMENTS
OpenVMS Format
X$DRAW_SEGMENTS
(display, drawable_id, gc_id, segments, num_segments)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
segments
|
array
|
x$segment
|
read
|
reference
|
num_segments
|
longword
|
longword
|
read
|
reference
|
DRAW STRING
OpenVMS Format
X$DRAW_STRING
(display, drawable_id, gc_id, x_coord, y_coord, string)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
x_coord
|
longword
|
longword
|
read
|
reference
|
y_coord
|
longword
|
longword
|
read
|
reference
|
string
|
char_string
|
character string
|
read
|
descriptor
|
Note
The X Protocol defines that only the least significant 16 bits of the
following longword arguments are transmitted to the server:
x_coord, y_coord.
|
DRAW STRING 16
OpenVMS Format
X$DRAW_STRING_16
(display, drawable_id, gc_id, x_coord, y_coord, string16, length)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
x_coord
|
longword
|
longword
|
read
|
reference
|
y_coord
|
longword
|
longword
|
read
|
reference
|
string16
|
array
|
word
|
read
|
reference
|
length
|
word
|
word
|
read
|
reference
|
Note
The X Protocol defines that only the least significant 16 bits of the
following longword arguments are transmitted to the server:
x_coord, y_coord.
|
DRAW TEXT
OpenVMS Format
X$DRAW_TEXT
(display, drawable_id, gc_id, x_coord, y_coord, items, num_items)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
x_coord
|
longword
|
longword
|
read
|
reference
|
y_coord
|
longword
|
longword
|
read
|
reference
|
items
|
array
|
vector_longword
|
read
|
reference
|
num_items
|
longword
|
longword
|
read
|
reference
|
Note
The X Protocol defines that only the least significant 16 bits of the
following longword arguments are transmitted to the server:
x_coord, y_coord.
|
DRAW TEXT 16
OpenVMS Format
X$DRAW_TEXT_16
(display, drawable_id, gc_id, x_coord, y_coord, items16, num_items)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
drawable_id
|
identifier
|
uns longword
|
read
|
reference
|
gc_id
|
identifier
|
uns longword
|
read
|
reference
|
x_coord
|
longword
|
longword
|
read
|
reference
|
y_coord
|
longword
|
longword
|
read
|
reference
|
items16
|
array
|
vector_longword
|
read
|
reference
|
num_items
|
longword
|
longword
|
read
|
reference
|
Note
The X Protocol defines that only the least significant 16 bits of the
following longword arguments are transmitted to the server:
x_coord, y_coord.
|
EMPTY REGION
OpenVMS Format
answer_return = X$EMPTY_REGION
(region_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
answer_return
|
longword
|
longword
|
write
|
value
|
region_id
|
identifier
|
uns longword
|
read
|
reference
|
ENABLE ACCESS CONTROL
OpenVMS Format
X$ENABLE_ACCESS_CONTROL
(display)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
display
|
identifier
|
uns longword
|
read
|
reference
|
EQUAL REGION
OpenVMS Format
answer_return = X$EQUAL_REGION
(region1_id, region2_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
answer_return
|
longword
|
longword
|
write
|
value
|
region1_id
|
identifier
|
uns longword
|
read
|
reference
|
region2_id
|
identifier
|
uns longword
|
read
|
reference
|
EVENT MASK OF SCREEN
OpenVMS Format
mask_return = X$EVENT_MASK_OF_SCREEN
(screen_id)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
mask_return
|
longword
|
longword
|
write
|
value
|
screen_id
|
identifier
|
uns longword
|
read
|
reference
|
EVENTS QUEUED
OpenVMS Format
count = X$EVENTS_QUEUED
(display, mode)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
count
|
longword
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
mode
|
longword
|
longword
|
read
|
reference
|
Arguments
mode
The mode by which you return the number of queued events. The
predefined values for mode are as follows:
X$C_QUEUED_ALREADY
X$C_QUEUED_AFTER_FLUSH
X$C_QUEUED_AFTER_READING
FETCH BUFFER
OpenVMS Format
status_return = X$FETCH_BUFFER
(display, num_bytes_return, num_buffer, buff_addr_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
status_return
|
cond_value
|
uns longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
num_bytes_return
|
longword
|
longword
|
write
|
reference
|
num_buffer
|
longword
|
longword
|
read
|
reference
|
buff_addr_return
|
longword
|
longword
|
write
|
value
|
Returns
status_return
Specifies whether the routine completed successfully. This routine
returns one of the following values:
Value |
Description |
SS$_NORMAL
|
Routine completed successfully.
|
X$_INVBUFFER
|
Invalid buffer.
|
X$_ERRORREPLY
|
Error received from server.
|
X$_INSFMEM
|
Insufficient virtual memory.
|
0
|
No data in the buffer.
|
Arguments
buff_addr_return
The address of the stream of bytes.
FETCH BYTES
OpenVMS Format
buff_addr_return = X$FETCH_BYTES
(display, num_bytes_return)
Argument Information
Argument |
Usage |
Data Type |
Access |
Mechanism |
buff_addr_return
|
longword
|
longword
|
write
|
value
|
display
|
identifier
|
uns longword
|
read
|
reference
|
num_bytes_return
|
longword
|
longword
|
write
|
reference
|
Returns
buff_addr_return
The address of a stream of bytes stored in cut buffer zero.
|