Table 3-26 GC Values Data Structure Members
Member Name |
Contents |
X$L_GCVL_FUNCTION
|
Defines how the server computes pixel values when the client updates a
section of the screen. The following lists available functions:
Constant |
Description |
X$C_GX_CLEAR
|
0
|
x$C_GX_AND
|
src AND dst
|
X$C_GX_AND_REVERSE
|
src AND NOT dst
|
X$C_GX_COPY
|
src
|
X$C_GX_AND_INVERTED
|
(NOT src) AND dst
|
X$C_GX_NOOP
|
dst
|
X$C_GX_XOR
|
src XOR dst
|
X$C_GX_OR
|
src OR dst
|
X$C_GX_NOR
|
(NOT src) AND NOT dst
|
X$C_GX_EQUIV
|
(NOT src) XOR dst
|
X$C_GX_INVERT
|
NOT dst
|
X$C_GX_OR_REVERSE
|
src OR NOT dst
|
X$C_GX_COPY_INVERTED
|
NOT src
|
X$C_GX_OR_INVERTED
|
(NOT src) OR dst
|
X$C_GX_NAND
|
(NOT src) OR NOT dst
|
X$C_GX_SET
|
1
|
|
X$L_GCVL_PLANE_MASK
|
Specifies the planes on which the server performs the bitwise
computation of pixels, defined by X$L_GCVL_FUNCTION.
|
X$L_GCVL_FOREGROUND
|
Specifies an index to a color map for foreground color.
|
X$L_GCVL_BACKGROUND
|
Specifies an index to a color map for background color.
|
X$L_GCVL_LINE_WIDTH
|
Defines the width of a line in pixels.
|
X$L_GCVL_LINE_STYLE
|
Defines which sections of the line the server draws. The following line
styles and the constants that specify them are available:
x$c_line_solid
|
x$c_line_off_on_dash
|
x$c_line_double_dash
|
|
|
X$L_GCVL_CAP_STYLE
|
Defines how the server draws the endpoints of a path. The following cap
styles and the constants that specify them are available:
x$c_cap_not_last
|
x$c_cap_round
|
x$c_cap_butt
|
x$c_cap_projecting
|
|
X$L_GCVL_JOIN_STYLE
|
Defines how the server draws corners for wide lines. The following join
styles and the constants that specify them are available:
x$c_join_mitre
|
x$c_join_bevel
|
x$c_join_round
|
|
|
X$L_GCVL_FILL_STYLE
|
Specifies the contents of the source for line, text, and fill
operations. The following fill styles and the constants that specify
them are available:
x$c_fill_solid
|
x$c_fill_opaque_stippled
|
x$c_fill_tiled
|
x$c_fill_stippled
|
|
X$L_GCVL_FILL_RULE
|
Defines what pixels the server draws along a path when a polygon is
filled. The two available choices are x$c_even_odd_rule and
x$c_winding_rule.
|
X$L_GCVL_ARC_MODE
|
Controls how the server fills an arc. The available choices are
specified by the constants x$c_arc_pie_slice and x$c_arc_chord.
|
X$L_GCVL_TILE
|
Specifies the pixmap the server uses for tiling operations.
|
X$L_GCVL_STIPPLE
|
Specifies the pixmap the server uses for stipple operations.
|
X$L_GCVL_TS_X_ORIGIN
|
Defines the origin for tiling and stipple operations.
|
X$L_GCVL_TS_Y_ORIGIN
|
Defines the origin for tiling and stipple operations.
|
X$L_GCVL_FONT
|
Specifies the font that the server uses for text operations.
|
X$L_GCVL_SUBWINDOW_MODE
|
Specifies whether inferior windows clip superior windows. The constant
x$c_clip_by_children specifies that all viewable input-output children
clip both source and destination windows. The constant
x$c_include_inferiors specifies that inferior windows clip neither
source nor destination windows.
|
X$L_GCVL_GRAPHICS_EXPOSURES
|
Specifies whether the server informs the client when the contents of a
window region are lost.
|
X$L_GCVL_CLIP_X_ORIGIN
|
Defines the x-coordinate of the clip origin.
|
X$L_GCVL_CLIP_Y_ORIGIN
|
Defines the y-coordinate of the clip origin.
|
X$L_GCVL_CLIP_MASK
|
Identifies the pixmap the server uses to restrict write operations to
the destination that is drawable.
|
X$L_GCVL_DASH_OFFSET
|
Specifies the pixel within the dash length sequence, defined by
X$T_GCVL_DASHES.
|
X$T_GCVL_DASHES
|
Specifies the length, in number of pixels, of each dash.
|
Table 3-27 GC Mask Bits
OpenVMS Predefined Bit Value |
Meaning When Set |
X$M_GC_FUNCTION
|
Change the function member
|
X$M_GC_PLANE_MASK
|
Change the plane mask member
|
X$M_GC_FOREGROUND
|
Change the foreground member
|
X$M_GC_BACKGROUND
|
Change the background member
|
X$M_GC_LINE_WIDTH
|
Change the line width member
|
X$M_GC_LINE_STYLE
|
Change the line style member
|
X$M_GC_CAP_STYLE
|
Change the cap, endpoint, style member
|
X$M_GC_JOIN_STYLE
|
Change the join style member
|
X$M_GC_FILL_STYLE
|
Change the fill style member
|
X$M_GC_FILL_RULE
|
Change the fill rule member
|
X$M_GC_ARC_MODE
|
Change the arc fill mode
|
X$M_GC_TILE
|
Change the tile pixmap identifier
|
X$M_GC_STIPPLE
|
Change the stipple pixmap identifier
|
X$M_GC_TILE_STIP_X_ORIGIN
|
Change the x-coordinate for a tile/stipple origin
|
X$M_TILE_STIP_Y_ORIGIN
|
Change the y-coordinate for a tile/stipple origin
|
X$M_GC_FONT
|
Change the font identifier
|
X$M_GC_SUBWINDOW_MODE
|
Change the subwindow mode member
|
X$M_GC_GRAPHICS_EXPOSURE
|
Change the graphics exposure flag
|
X$M_GC_CLIP_X_ORIGIN
|
Change the x-coordinate for a clip origin
|
X$M_GC_CLIP_Y_ORIGIN
|
Change the y-coordinate for a clip origin
|
X$M_GC_CLIP_MASK
|
Change clip mask pixmap identifier
|
X$M_GC_DASH_OFFSET
|
Change the dash offset member
|
X$M_GC_DASH_LIST
|
Change the dash list member
|
Table 3-33 Key Event Data Structure Members
Member Name |
Contents |
X$L_KYEV_TYPE
|
Value defined by either the x$c_key_press or the x$c_key_release
constant.
|
X$L_KYEV_SERIAL
|
Number of the last event processed by the server.
|
X$L_KYEV_SEND_EVENT
|
Value defined by the constant true if the event came from a SEND EVENT
request.
|
X$A_KYEV_DISPLAY
|
Display on which the event occurred.
|
X$L_KYEV_WINDOW
|
Event window.
|
X$L_KYEV_ROOT
|
Root window on which the event occurred.
|
X$L_KYEV_SUBWINDOW
|
Source window of the event.
|
X$L_KYEV_TIME
|
Time in milliseconds at which the key event occurred.
|
X$L_KYEV_X
|
The x value of the pointer coordinates in the source window.
|
X$L_KYEV_Y
|
The y value of the pointer coordinates in the source window.
|
X$L_KYEV_X_ROOT
|
The x value of the pointer coordinates relative to the root window.
|
X$L_KYEV_Y_ROOT
|
The y value of the pointer coordinates relative to the root window.
|
X$L_KYEV_STATE
|
State of the key just prior to the key event. Xlib can set this member
to the bitwise OR of the following states:
x$m_shift
|
x$m_lock
|
x$m_control
|
x$m_mod1
|
x$m_mod2
|
x$m_mod3
|
x$m_mod4
|
x$m_mod5
|
|
X$L_KYEV_KEYCODE
|
An arbitrary but unique representation of the key that generated the
event.
|
X$L_KYEV_SAME_SCREEN
|
Indicates whether the event window is on the same screen as the root
window.
|
Table 3-39 Mapping Event Data Structure Members
Member Name |
Contents |
X$L_MPPG_TYPE
|
Value defined by the x$c_mapping_notify constant.
|
X$L_MPPG_SERIAL
|
Number of the last request processed by the server.
|
X$L_MPPG_SEND_EVENT
|
Value defined by the constant true if the event came from a SEND EVENT
request.
|
X$A_MPPG_DISPLAY
|
Display on which the event occurred.
|
X$L_MPPG_WINDOW
|
Unused member.
|
X$L_MPPG_REQUEST
|
The type of mapping change being reported. Possible values are
indicated by the following constants:
x$c_mapping_modifier
|
|
x$c_mapping_keyboard
|
|
x$c_mapping_pointer
|
|
|
X$L_MPPG_FIRST_KEYCODE
|
First number of the range of altered keys, set only if the request
member has a value specified by the constant x$c_mapping_keyboard.
|
X$L_MPPG_COUNT
|
Last number of the range of altered keys, set only if the request
member has a value specified by the constant x$c_mapping_keyboard.
|