CONTENTS Title Page Copyright Page Preface 1 Introduction to the DECwindows Xlib Routines 1.1 Routine Documentation Format 1.1.1 Routine Name 1.1.2 Overview 1.1.3 VAX Format 1.1.4 MIT C Format 1.1.5 Returns 1.1.6 Argument Information 1.1.7 Description 1.1.8 X Errors 1.2 Data Structures 1.3 Protocol Request and Utility Routines 2 Display Routines 2.1 Display Routines ALL PLANES BITMAP BIT ORDER BITMAP PAD BITMAP UNIT BLACK PIXEL BLACK PIXEL OF SCREEN CELLS OF SCREEN CLOSE DISPLAY CONNECTION NUMBER DEFAULT COLORMAP DEFAULT COLORMAP OF SCREEN DEFAULT DEPTH DEFAULT DEPTH OF SCREEN DEFAULT GC OF SCREEN DEFAULT ROOT WINDOW DEFAULT SCREEN DEFAULT SCREEN OF DISPLAY DEFAULT VISUAL DEFAULT VISUAL OF SCREEN DISPLAY CELLS DISPLAY HEIGHT DISPLAY HEIGHT MM DISPLAY NAME DISPLAY OF SCREEN DISPLAY PLANES DISPLAY STRING DISPLAY WIDTH DISPLAY WIDTH MM DOES BACKING STORE DOES SAVE UNDERS EVENT MASK OF SCREEN FREE HEIGHT MM OF SCREEN HEIGHT OF SCREEN IMAGE BYTE ORDER LAST KNOWN REQUEST PROCESSED MAX CMAPS OF SCREEN MAX REQUEST SIZE MIN CMAPS OF SCREEN NEXT REQUEST NO OP OPEN DISPLAY PLANES OF SCREEN PROTOCOL REVISION PROTOCOL VERSION Q LENGTH ROOT WINDOW ROOT WINDOW OF SCREEN ROTATE BUFFERS SCREEN COUNT SCREEN OF DISPLAY SERVER VENDOR STORE BUFFER STORE BYTES VENDOR RELEASE VISUAL ID FROM VISUAL WHITE PIXEL WHITE PIXEL OF SCREEN WIDTH MM OF SCREEN WIDTH OF SCREEN 3 Window Routines 3.1 Set Window Attributes Data Structure 3.2 Window Changes Data Structure 3.3 Window Attributes Data Structure 3.4 Window Routines CHANGE WINDOW ATTRIBUTES CIRCULATE SUBWINDOWS CIRCULATE SUBWINDOWS DOWN CIRCULATE SUBWINDOWS UP CONFIGURE WINDOW CREATE SIMPLE WINDOW CREATE WINDOW DESTROY SUBWINDOWS DESTROY WINDOW GET GEOMETRY GET WINDOW ATTRIBUTES LOWER WINDOW MAP RAISED MAP SUBWINDOWS MAP WINDOW MOVE RESIZE WINDOW MOVE WINDOW QUERY POINTER QUERY TREE RAISE WINDOW RESIZE WINDOW RESTACK WINDOWS SET WINDOW BACKGROUND SET WINDOW BACKGROUND PIXMAP SET WINDOW BORDER SET WINDOW BORDER PIXMAP SET WINDOW BORDER WIDTH TRANSLATE COORDINATES UNMAP SUBWINDOWS UNMAP WINDOW 4 Event Routines 4.1 Event Data Structure 4.2 The Event Mask 4.3 The Predicate Procedure 4.4 Time Coordinate Data Structure 4.5 Error Handling 4.6 Error Event Data Structure 4.7 Event Routines CHECK IF EVENT CHECK MASK EVENT CHECK TYPED EVENT CHECK TYPED WINDOW EVENT CHECK WINDOW EVENT EVENTS QUEUED FLUSH GET ERROR DATABASE TEXT GET ERROR TEXT GET MOTION EVENTS IF EVENT MASK EVENT NEXT EVENT PEEK EVENT PEEK IF EVENT PENDING PUT BACK EVENT SELECT ASYNC EVENT SELECT ASYNC INPUT SELECT INPUT SEND EVENT SET AFTER FUNCTION SET ERROR HANDLER SET IO ERROR HANDLER SYNC SYNCHRONIZE WINDOW EVENT 5 Graphics Context Routines 5.1 The GC Values Data Structure 5.2 GC Mask 5.3 Graphics Context Routines CHANGE GC COPY GC CREATE GC DEFAULT GC FREE GC GCONTEXT FROM GC QUERY BEST SIZE QUERY BEST STIPPLE QUERY BEST TILE SET ARC MODE SET BACKGROUND SET CLIP MASK SET CLIP ORIGIN SET CLIP RECTANGLES SET DASHES SET FILL RULE SET FILL STYLE SET FONT SET FOREGROUND SET FUNCTION SET GRAPHICS EXPOSURES SET LINE ATTRIBUTES SET PLANE MASK SET STATE SET STIPPLE SET SUBWINDOW MODE SET TILE SET TS ORIGIN 6 Graphics Routines 6.1 Point Data Structure 6.2 Segment Data Structure 6.3 Rectangle Data Structure 6.4 Arc Data Structure 6.5 Image Data Structure 6.6 Graphics Routines ADD PIXEL CLEAR AREA CLEAR WINDOW COPY AREA COPY PLANE CREATE IMAGE DESTROY IMAGE DRAW ARC DRAW ARCS DRAW LINE DRAW LINES DRAW POINT DRAW POINTS DRAW RECTANGLE DRAW RECTANGLES DRAW SEGMENTS FILL ARC FILL ARCS FILL POLYGON FILL RECTANGLE FILL RECTANGLES GET IMAGE GET PIXEL GET SUB IMAGE PUT IMAGE PUT PIXEL SUB IMAGE 7 Text Routines 7.1 Drawing Text 7.1.1 Text Item 8-Bit Data Structure 7.1.2 Text Item 16-Bit Data Structure 7.2 Text Routines DRAW IMAGE STRING DRAW IMAGE STRING 16 DRAW STRING DRAW STRING 16 DRAW TEXT DRAW TEXT 16 QUERY TEXT EXTENTS QUERY TEXT EXTENTS 16 TEXT EXTENTS TEXT EXTENTS 16 TEXT WIDTH TEXT WIDTH 16 8 Property Routines 8.1 Size Hints Data Structure 8.2 Icon Size Data Structure 8.3 Window Manager Hints Data Structure 8.4 Property Routines CHANGE PROPERTY CONVERT SELECTION DELETE CONTEXT DELETE PROPERTY FETCH BUFFER FETCH BYTES FETCH NAME FIND CONTEXT GET ATOM NAME GET CLASS HINT GET ICON NAME GET ICON SIZES GET NORMAL HINTS GET SELECTION OWNER GET SIZE HINTS GET TRANSIENT FOR HINT GET WINDOW PROPERTY GET WM HINTS GET ZOOM HINTS INTERN ATOM LIST PROPERTIES ROTATE WINDOW PROPERTIES SAVE CONTEXT SET CLASS HINT SET COMMAND SET ICON NAME SET ICON SIZES SET NORMAL HINTS SET SELECTION OWNER SET SIZE HINTS SET STANDARD PROPERTIES SET TRANSIENT FOR HINT SET WM HINTS SET ZOOM HINTS STORE NAME UNIQUE CONTEXT 9 Region Routines 9.1 Region Routines CLIP BOX CREATE REGION DESTROY REGION EMPTY REGION EQUAL REGION INTERSECT REGION OFFSET REGION POINT IN REGION POLYGON REGION RECT IN REGION SET REGION SHRINK REGION SUBTRACT REGION UNION RECT WITH REGION UNION REGION XOR REGION 10 Window and Session Manager Routines 10.1 Network Data Structure 10.2 Keyboard Control Data Structure 10.2.1 Keyboard Control Value Mask 10.3 Keyboard State Data Structure 10.4 Compose Data Structure 10.5 Modifier Key Map Data Structure 10.6 Window and Session Manager Routines ACTIVATE SCREEN SAVER ADD HOST ADD HOSTS ADD TO SAVE SET ALLOW EVENTS AUTO REPEAT OFF AUTO REPEAT ON BELL CHANGE ACTIVE POINTER GRAB CHANGE KEYBOARD CONTROL CHANGE KEYBOARD MAPPING CHANGE POINTER CONTROL CHANGE SAVE SET DELETE MODIFIERMAP ENTRY DISABLE ACCESS CONTROL DISPLAY KEYCODES DISPLAY MOTION BUFFER SIZE ENABLE ACCESS CONTROL FORCE SCREEN SAVER FREE MODIFIERMAP GEOMETRY GET DEFAULT GET INPUT FOCUS GET KEYBOARD CONTROL GET KEYBOARD MAPPING GET MODIFIER MAPPING GET POINTER CONTROL GET POINTER MAPPING GET SCREEN SAVER GRAB BUTTON GRAB KEY GRAB KEYBOARD GRAB POINTER GRAB SERVER INSERT MODIFIERMAP ENTRY INSTALL COLORMAP KEYCODE TO KEYSYM KEYSYM TO KEYCODE KEYSYM TO STRING KILL CLIENT LIST HOSTS LIST INSTALLED COLORMAPS LOOKUP KEYSYM LOOKUP STRING NEW MODIFIERMAP PARSE COLOR PARSE GEOMETRY QUERY KEYMAP REBIND KEYSYM REFRESH KEYBOARD MAPPING REMOVE FROM SAVE SET REMOVE HOST REMOVE HOSTS REPARENT WINDOW RESET SCREEN SAVER RESOURCE MANAGER STRING SET ACCESS CONTROL SET CLOSE DOWN MODE SET INPUT FOCUS SET MODIFIER MAPPING SET POINTER MAPPING SET SCREEN SAVER STRING TO KEYSYM UNGRAB BUTTON UNGRAB KEY UNGRAB KEYBOARD UNGRAB POINTER UNGRAB SERVER UNINSTALL COLORMAP WARP POINTER 11 Pixmap and Bitmap Routines 11.1 Pixmap and Bitmap Routines CREATE BITMAP FROM DATA CREATE PIXMAP CREATE PIXMAP FROM BITMAP DATA FREE PIXMAP READ BITMAP FILE WRITE BITMAP FILE 12 Color Routines 12.1 Standard Color Map Data Structure 12.2 Color Definition Data Structure 12.3 Color Routines ALLOC COLOR ALLOC COLOR CELLS ALLOC COLOR PLANES ALLOC NAMED COLOR COPY COLORMAP AND FREE CREATE COLORMAP FREE COLORMAP FREE COLORS GET STANDARD COLORMAP GET VISUAL INFO LOOKUP COLOR MATCH VISUAL INFO QUERY COLOR QUERY COLORS SET STANDARD COLORMAP SET WINDOW COLORMAP STORE COLOR STORE COLORS STORE NAMED COLOR 13 Font Routines 13.1 Font Data Structure 13.2 Character Data Structure 13.3 Font Property Data Structure 13.4 Font Routines FREE FONT FREE FONT INFO FREE FONT NAMES FREE FONT PATH GET CHAR STRUCT GET FONT PATH GET FONT PROPERTY LIST FONT LIST FONT WITH INFO LIST FONTS LIST FONTS WITH INFO LOAD FONT LOAD QUERY FONT QUERY FONT SET FONT PATH UNLOAD FONT 14 Cursor Routines 14.1 Cursor Routines CREATE FONT CURSOR CREATE GLYPH CURSOR CREATE PIXMAP CURSOR DEFINE CURSOR FREE CURSOR QUERY BEST CURSOR RECOLOR CURSOR UNDEFINE CURSOR 15 Resource Manager Routines 15.1 The Resource Manager 15.2 Resource Manager Matching Rules 15.3 Quarks 15.4 The Resource Manager Value Data Structure 15.5 Resource Manager Routines PERM ALLOC RM GET FILE DATABASE RM GET RESOURCE RM GET STRING DATABASE RM INITIALIZE RM MERGE DATABASES RM PARSE COMMAND RM PUT FILE DATABASE RM PUT LINE RESOURCE RM PUT RESOURCE RM PUT STRING RESOURCE RM Q GET RESOURCE RM Q GET SEARCH LIST RM Q GET SEARCH RESOURCE RM Q PUT RESOURCE RM Q PUT STRING RESOURCE RM QUARK TO STRING RM STRING TO BIND QUARK LIST RM STRING TO QUARK RM STRING TO QUARK LIST RM UNIQUE QUARK A X Logical Font Description Conventions V1.3 A.1 Requirements and Goals A.1.1 Unique, Descriptive Font Names A.1.2 Support Multiple Vendors and Character Sets A.1.3 Server, Operating, and File System Independent A.1.4 Supports Arbitrarily Complex Font Matching/Substitution A.1.5 Extensible A.2 X Logical Font Description A.2.1 FontName A.2.1.1 FontName Syntax A.2.1.2 FontName Field Definitions A.2.1.2.1 FOUNDRY x-registered-name A.2.1.2.2 FAMILY_NAME string A.2.1.2.3 WEIGHT_NAME string A.2.1.2.4 SLANT code-string A.2.1.2.5 SETWIDTH_NAME string A.2.1.2.6 ADD_STYLE_NAME string A.2.1.2.7 PIXEL_SIZE integer-string A.2.1.2.8 POINT_SIZE integer-string A.2.1.2.9 RESOLUTION_X integer-string , RESOLUTION_Y integer-string A.2.1.2.10 SPACING code-string A.2.1.2.11 AVERAGE_WIDTH integer-string A.2.1.2.12 CHARSET_REGISTRY x-registered-name , CHARSET_ENCODING registered-name A.2.2 FontProperties A.2.2.1 FOUNDRY ATOM A.2.2.2 FAMILY_NAME ATOM A.2.2.3 WEIGHT_NAME ATOM A.2.2.4 SLANT ATOM A.2.2.5 SETWIDTH_NAME ATOM A.2.2.6 ADD_STYLE_NAME ATOM A.2.2.7 PIXEL_SIZE CARD32 A.2.2.8 POINT_SIZE CARD32 A.2.2.9 RESOLUTION_X CARD32 A.2.2.10 RESOLUTION_Y CARD32 A.2.2.11 SPACING ATOM A.2.2.12 AVERAGE_WIDTH CARD32 A.2.2.13 CHARSET_REGISTRY ATOM A.2.2.14 CHARSET_ENCODING ATOM A.2.2.15 MIN_SPACE CARD32 A.2.2.16 NORM_SPACE CARD32 A.2.2.17 MAX_SPACE CARD32 A.2.2.18 END_SPACE CARD32 A.2.2.19 AVG_CAPITAL_WIDTH INT32 A.2.2.20 AVG_LOWERCASE_WIDTH INT32 A.2.2.21 QUAD_WIDTH INT32 (DEPRECATED) A.2.2.22 FIGURE_WIDTH INT32 A.2.2.23 SUPERSCRIPT_X INT32 A.2.2.24 SUPERSCRIPT_Y INT32 A.2.2.25 SUBSCRIPT_X INT32 A.2.2.26 SUBSCRIPT_Y INT32 A.2.2.27 SUPERSCRIPT_SIZE CARD32 A.2.2.28 SUBSCRIPT_SIZE CARD32 A.2.2.29 SMALL_CAP_SIZE CARD32 A.2.2.30 UNDERLINE_POSITION INT32 A.2.2.31 UNDERLINE_THICKNESS CARD32 A.2.2.32 STRIKEOUT_ASCENT INT32 A.2.2.33 STRIKEOUT_DESCENT INT32 A.2.2.34 ITALIC_ANGLE INT32 A.2.2.35 CAP_HEIGHT CARD32 A.2.2.36 X_HEIGHT CARD32 A.2.2.37 RELATIVE_SETWIDTH CARD32 A.2.2.38 RELATIVE_WEIGHT CARD32 A.2.2.39 WEIGHT CARD32 A.2.2.40 RESOLUTION CARD32 (DEPRECATED) A.2.2.41 FACE_NAME ATOM A.2.2.42 COPYRIGHT ATOM A.2.2.43 NOTICE ATOM A.2.2.44 DESTINATION CARD32 A.2.3 Built-In Font Property Atoms A.3 Affected Elements of XLIB and the X Protocol A.4 BDF Conformance A.4.1 XLFD Conformance Requirements A.4.2 FONT_ASCENT, FONT_DESCENT, and DEFAULT_CHAR A.4.2.1 FONT_ASCENT INT32 A.4.2.2 FONT_DESCENT INT32 A.4.2.3 DEFAULT_CHAR CARD32 B Bitmap Distribution Format B.1 File Format B.2 Metric Information B.3 An Example File FIGURES 3-1 Set Window Attributes Data Structure (VAX Binding) 3-2 Set Window Attributes Data Structure (MIT C Binding) 3-3 Window Changes Data Structure (VAX Binding) 3-4 Window Changes Data Structure (MIT C Binding) 3-5 Window Attributes Data Structure (VAX Binding) 3-6 Window Attributes Data Structure (MIT C Binding) 4-1 Event Data Structure (VAX Binding) 4-2 Event Data Structure (MIT C Binding) 4-3 Time Coordinate Data Structure (VAX Binding) 4-4 Time Coordinate Data Structure (MIT C Binding) 4-5 Error Event Data Structure (VAX Binding) 4-6 Error Event Data Structure (MIT C Binding) 5-1 GC Values Data Structure (VAX Binding) 5-2 Line Styles 5-3 Cap Styles 5-4 Join Styles 5-5 Fill Rules 5-6 Arc Fill Options 5-7 GC Values Data Structure (MIT C Binding) 5-8 Arc Fill Options 5-9 Dash Offset and Dash List 5-10 Odd Dash List 5-11 Fill Rules 5-12 Line Styles 5-13 Cap Styles 5-14 Join Styles 6-1 Point Data Structure (VAX Binding) 6-2 Point Data Structure (MIT C Binding) 6-3 Segment Data Structure (VAX Binding) 6-4 Segment Data Structure (MIT C Binding) 6-5 Rectangle Data Structure (VAX Binding) 6-6 Rectangle Data Structure (MIT C Binding) 6-7 Arc Data Structure (VAX Binding) 6-8 Arc Data Structure (MIT C Binding) 6-9 Image Data Structure (VAX Binding) 6-10 Image Data Structure (MIT C BInding) 6-11 Rectangular Area Cleared 6-12 Specifying an Ellipse 6-13 Lines Drawn in Different Line Modes 6-14 Points Drawn in Different Coordinate Modes 6-15 Outline of a Rectangle 6-16 Polygon Shapes Drawn in Different Coordinate Modes 7-1 Text Item Data Structure (VAX Binding) 7-2 Text Item Data Structure (MIT C Binding) 7-3 Text Item 16 Data Structure (VAX Binding) 7-4 Text Item 16 Data Structure (MIT C Binding) 8-1 Size Hints Data Structure (VAX Binding) 8-2 Size Hints Data Structure (MIT C Binding) 8-3 Icon Size Data Structure (VAX Binding) 8-4 Icon Size Data Structure (MIT C Binding) 8-5 WM Hints Data Structure (VAX Binding) 8-6 WM Hints Data Structure (MIT C Binding) 9-1 Region Intersection 9-2 Point Data Structure (VAX Binding) 9-3 Point Data Structure (MIT C Binding) 9-4 Shrinking a Region 9-5 Subtracting a Region 9-6 Union of a Source Region and a Rectangle 9-7 Union of Two Regions 9-8 Exclusive OR Operation 10-1 Network Data Structure (VAX Binding) 10-2 Network Data Structure (MIT C Binding) 10-3 Keyboard Control Data Structure (VAX Binding) 10-4 Keyboard Control Data Structure (MIT C Binding) 10-5 Keyboard State Data Structure (VAX Binding) 10-6 Keyboard State Data Structure (MIT C Binding) 10-7 Compose Data Structure (VAX Binding) 10-8 Compose Data Structure (MIT C Binding) 10-9 Modifier Key Map Data Structure (VAX Binding) 10-10 Modifier Key Map Data Structure (MIT C Binding) 10-11 Color Definition Data Structure (VAX Binding) 10-12 Color Definition Data Structure (MIT C Binding) 12-1 Standard Color Map Data Structure (VAX Binding) 12-2 Standard Color Map Data Structure (MIT C Binding) 12-3 Color Definition Data Structure (VAX Binding) 12-4 Color Definition Data Structure (MIT C Binding) 13-1 Font Data Structure (VAX Binding) 13-2 Font Data Structure (MIT C Binding) 13-3 Character Data Structure (VAX Binding) 13-4 Character Data Structure (MIT C Binding) 13-5 Font Property Data Structure (VAX Binding) 13-6 Font Property Data Structure (MIT C Binding) 15-1 Resource Manager Value Data Structure (VAX Binding) 15-2 Resource Manager Value Data Structure (MIT C Binding) B-1 An Example of a Descender B-2 An Example with the Origin Outside the Bounding Box TABLES 1-1 General Rules of Syntax 1-2 VAX Usage Entries 1-3 Access Entries 1-4 Mechanism Entries 1-5 Protocol and Utility Routines 2-1 Display Routines 3-1 Window Routines 3-2 Members of the Set Window Attributes Data Structure (VAX Binding) 3-3 Default Values of the Set Window Attributes Data Structure 3-4 Members of the Set Window Attributes Data Structure (MIT C Binding) 3-5 Members of the Window Changes Data Structure (VAX Binding) 3-6 Members of the Window Changes Data Structure (MIT C Binding) 3-7 Members of the Window Attributes Data Structure (VAX Binding) 3-8 Members of the Window Attributes Data Structure (MIT C Binding) 3-9 CHANGE WINDOW ATTRIBUTES Flags 3-10 Change Mask Bits 4-1 Event Routines 4-2 Event Mask Elements 4-3 Members of the Time Coordinate Data Structure (VAX Binding) 4-4 Members of the Time Coordinate Data Structure (MIT C Binding) 4-5 Xlib Error Codes 4-6 Members of the Error Event Data Structure (VAX Binding) 4-7 Members of the Error Event Data Structure (MIT C Binding) 5-1 Graphics Context Routines 5-2 Members of the GC Values Data Structure (VAX Binding) 5-3 Default Values for the GC Values Data Structure 5-4 Members of the GC Values Data Structure (MIT C Binding) 5-5 Default Values for the GC Values Data Structure 5-6 GC Mask Bits 5-7 Graphics Context Codes for Function Member 5-8 Graphics Context Codes for Function Member 6-1 Graphics Routines 6-2 Members of the Point Data Structure (VAX Binding) 6-3 Members of the Point Data Structure (MIT C Binding) 6-4 Members of the Rectangle Data Structure (VAX Binding) 6-5 Members of the Rectangle Data Structure (MIT C Binding) 6-6 Members of the Arc Data Structure (VAX Binding) 6-7 Members of the Arc Data Structure (MIT C Binding) 6-8 Members of the Image Data Structure (VAX Binding) 6-9 Members of the Image Data Structure (MIT C Binding) 7-1 Text Routines 7-2 Members of the Text Item Data Structure (VAX Binding) 7-3 Members of the Text Item Data Structure (MIT C Binding) 7-4 Members of the Text Item 16 Data Structure (VAX Binding) 7-5 Members of the Text Item 16 Data Structure (MIT C Binding) 8-1 Property Routines 8-2 Members of the Size Hints Data Structure (VAX Binding) 8-3 Members of the Size Hints Data Structure (MIT C Binding) 8-4 Members of the Icon Size Data Structure (VAX Binding) 8-5 Members of the Icon Size Data Structure (MIT C Binding) 8-6 Members of the WM Hints Data Structure (VAX Binding) 8-7 Members of the WM Hints Data Structure (MIT C Binding) 9-1 Region Routines 9-2 Fill Rule Constants 9-3 Members of the Point Data Structure (VAX Binding) 9-4 Members of the Point Data Structure (MIT C Binding) 10-1 Window and Session Manager Routines 10-2 Members of the Network Data Structure (VAX Binding) 10-3 Members of the Network Data Structure (MIT C Binding) 10-4 Members of the Keyboard Control Data Structure (VAX Binding) 10-5 Members of the Keyboard Control Data Structure (MIT C Binding) 10-6 Keyboard Control Value Mask 10-7 Members of the Keyboard State Data Structure (VAX Binding) 10-8 Members of the Keyboard State Data Structure (MIT C Binding) 10-9 Members of the Compose Data Structure (VAX Binding) 10-10 Members of the Compose Data Structure (MIT C Binding) 10-11 Members of the Modifier Key Map Data Structure (VAX Binding) 10-12 Members of the Modifier Key Map Data Structure (MIT C Binding) 10-13 Event Mask Description 10-14 Parse Mask Bits 10-15 Event Mask Description 10-16 Event Mask Description 10-17 Adding a Key Code to a Zero Value 10-18 Adding a Key Code to a Nonzero Value 10-19 Members of the Color Definition Data Structure (VAX Binding) 10-20 Members of the Color Definition Data Structure (MIT C Binding) 10-21 Parse Mask Bits 11-1 Pixmap and Bitmap Routines 12-1 Color Routines 12-2 Members of the Standard Color Map Data Structure (VAX Binding) 12-3 Members of the Standard Color Map Data Structure (MIT C Binding) 12-4 Members of the Color Definition Data Structure (VAX Binding) 12-5 Members of the Color Definition Data Structure (MIT C Binding) 12-6 Visual Information Mask Bits 13-1 Window and Session Font Routines 13-2 Members of the Font Data Structure (VAX Binding) 13-3 Members of the Font Data Structure (MIT C Binding) 13-4 Members of the Character Data Structure (VAX Binding) 13-5 Members of the Character Data Structure (MIT C Binding) 13-6 Members of the Font Property Data Structure (VAX Binding) 13-7 Members of the Font Property Data Structure (MIT C Binding) 14-1 Window and Session Cursor Routines 15-1 Resource Manager Routines 15-2 Members of the Resource Manager Value Data Structure (VAX Binding) 15-3 Members of the Resource Manager Value Data Structure (MIT C Binding) A-1 FontName Syntax A-2 SLANT Encodings A-3 SPACING Encodings A-4 Character Set Name Syntax A-5 Examples of X Font Names A-6 X FontProperties Syntax A-7 RELATIVE_SETWIDTH Encodings A-8 RELATIVE_WEIGHT Encodings A-9 DESTINATION Encodings A-10 Built-In Font Property Atoms