Previous | Contents | Index |
status_return = X$FETCH_NAMEArgument Information(display, window_id, window_name_return, [name_len_return])
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
status_return | longword | longword | write | value |
display | identifier | uns longword | read | reference |
window_id | identifier | uns longword | read | reference |
window_name_return | char_string | character string | write | descriptor |
name_len_return | word | uns word | write | reference |
status_return
Specifies whether the routine completed successfully.
Value Description 0 Routine completed successfully. Non-zero Routine did not complete successfully.
name_len_return
The length of window_name_return. This argument is optional.
X$FILL_ARCArgument Information(display, drawable_id, gc_id, x_coord, y_coord, width, height, angle1, angle2)
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 |
angle1 | longword | longword | read | reference |
angle2 | 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, width, height, angle1, angle2. |
X$FILL_ARCSArgument Information(display, drawable_id, gc_id, arcs, num_arcs)
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 |
arcs | array | x$arc | read | reference |
num_arcs | longword | longword | read | reference |
X$FILL_POLYGONArgument Information(display, drawable_id, gc_id, points, num_points, shape, 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 |
shape | longword | longword | read | reference |
mode | longword | longword | read | reference |
shape
The shape of the polygon. The predefined values for shape are as follows:X$C_POLYCOMPLEX
X$C_CONVEX
X$C_NONCONVEXIf the shape of the polygon is known and correctly specified with this argument, server performance can be improved. If the shape is specified incorrectly, the result of the operation will be undefined. Other values specified in this argument are not valid.
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 mode are as follows:X$C_COORD_ MODE_ORIGINOther values specified in this argument are not valid.
X$C_COORD_ MODE_PREVIOUS
X$FILL_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$FILL_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$FILTER_EVENTArgument Information(event, window)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
event | record | x$event | read | reference |
window | identifier | uns longword | read | reference |
status_return = X$FIND_CONTEXTArgument Information(display, window_id, context_id, [window_data_return], [buff_len], [buff_ptr_return], [len_return])
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
status_return | cond_value | uns longword | write | value |
display | identifier | uns longword | read | reference |
window_id | identifier | uns longword | read | reference |
context_id | identifier | uns longword | read | reference |
window_data_return | longword | uns longword | read | reference |
buff_len | longword | longword | read | reference |
buff_ptr_return | array | byte | write | reference |
len_return | word | uns word | write | reference |
status_return
Specifies whether the return completed successfully. The routine returns zero for success and a non-zero value for failure.
buff_len
The length of the supplied buffer. This argument is optional.buff_ptr_return
The buffer into which data is written. This argument is optional.len_return
The length of the data written into the buffer. This argument is optional.
X$FLUSHArgument Information(display)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
X$FLUSH_GCArgument Information(display, gc)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
gc | identifier | uns longword | read | reference |
X$FORCE_SCREEN_SAVERArgument Information(display, saver_mode)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
saver_mode | longword | longword | read | reference |
saver_mode
Specifies how the screen saver is activated. The predefined values for saver_mode are as follows:
Value Description X$C_SCREEN_SAVER_ACTIVE Activates the screen saver even if it has been disabled. X$C_SCREEN_SAVER_RESET Resets the screen saver to its inital state.
X$FREEArgument Information(buff_ptr)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
buff_ptr | byte | v uns byte | read | reference |
X$FREE_COLORMAPArgument Information(display, colormap_id)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
colormap_id | identifier | uns longword | read | reference |
X$FREE_COLORSArgument Information(display, colormap_id, pixels, num_pixels, planes)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
colormap_id | identifier | uns longword | read | reference |
pixels | array | longword | read | reference |
num_pixels | longword | longword | read | reference |
planes | longword | uns longword | read | reference |
X$FREE_CURSORArgument Information(display, cursor_id)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
cursor_id | identifier | uns longword | read | reference |
X$FREE_FONTArgument Information(display, font_struc)
Argument | Usage | Data Type | Access | Mechanism |
---|---|---|---|---|
display | identifier | uns longword | read | reference |
font_struc | record | x$font_struct | read | reference |
Previous | Next | Contents | Index |