Previous | Contents | Index |
X$DRAW_POINTSArgument Information(display, drawable_id, gc_id, points, num_points, point_mode)
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 |
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_ORIGINOther values specified in this argument are not valid.
X$C_COORD_MODE_PREVIOUS
X$DRAW_RECTANGLEArgument Information(display, drawable_id, gc_id, x_coord, y_coord, width, height)
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 |
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. |
X$DRAW_RECTANGLESArgument Information(display, drawable_id, gc_id, rectangles, num_rectangles)
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 |
X$DRAW_SEGMENTSArgument Information(display, drawable_id, gc_id, segments, num_segments)
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 |
X$DRAW_STRINGArgument Information(display, drawable_id, gc_id, x_coord, y_coord, string)
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 |
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. |
X$DRAW_STRING_16Argument Information(display, drawable_id, gc_id, x_coord, y_coord, string16, length)
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 |
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. |
X$DRAW_TEXTArgument Information(display, drawable_id, gc_id, x_coord, y_coord, items, num_items)
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 |
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. |
X$DRAW_TEXT_16Argument Information(display, drawable_id, gc_id, x_coord, y_coord, items16, num_items)
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 |
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. |
answer_return = X$EMPTY_REGIONArgument Information(region_id)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
answer_return | longword | longword | write | value |
region_id | identifier | uns longword | read | reference |
X$ENABLE_ACCESS_CONTROLArgument Information(display)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
answer_return = X$EQUAL_REGIONArgument Information(region1_id, region2_id)
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 |
mask_return = X$EVENT_MASK_OF_SCREENArgument Information(screen_id)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
mask_return | longword | longword | write | value |
screen_id | identifier | uns longword | read | reference |
count = X$EVENTS_QUEUEDArgument Information(display, mode)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
count | longword | longword | write | value |
display | identifier | uns longword | read | reference |
mode | longword | longword | read | reference |
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
status_return = X$FETCH_BUFFERArgument Information(display, num_bytes_return, num_buffer, buff_addr_return)
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 |
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.
buff_addr_return
The address of the stream of bytes.
buff_addr_return = X$FETCH_BYTESArgument Information(display, num_bytes_return)
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 |
buff_addr_return
The address of a stream of bytes stored in cut buffer zero.
Previous | Next | Contents | Index |