CONTENTS Title Page Copyright Page Preface 1 Introduction 1.1 Capabilities of Supported Devices 1.2 Supported Fonts 1.3 GKS-3D Levels 1.4 Online Help 2 ReGIS Graphics Protocol Workstation Specifics Valid Bit Mask Values Programming Considerations Monochrome ReGIS Color and Bundle Indexes Color ReGIS Color and Bundle Values Color ReGIS Pattern and Hatch Values ReGIS Input Information Choice Input Class Locator Input Class Pick Input Class String Input Class Stroke Input Class Valuator Input Class ReGIS Additional Information 3 PostScript Workstation Specifics Valid Bit Mask Values Programming Considerations PostScript Color and Bundle Indexes PostScript Pattern and Hatch Values PostScript Font Support PostScript Additional Information 4 LJ250 and LA324 Workstation Specifics Valid Bit Mask Values Programming Considerations LJ250 and LA324 Color and Bundle Indexes LJ250 and LA324 Patterns and Hatch Values LJ250 and LA324 Additional Information 5 LVP16/HPGL Graphics Protocol Workstation Specifics Valid Bit Mask Values Programming Considerations HPGL Color and Bundle Indexes HPGL Pattern and Hatch Values LVP16 Font Support HPGL Additional Information 6 Sixel Graphics Protocol Workstation Specifics Valid Bit Mask Values Programming Considerations Sixel Color and Bundle Indexes Sixel Pattern and Hatch Values Sixel Additional Information 7 LCG01 Workstation Specifics Valid Bit Mask Values Programming Considerations LCG01 Color and Bundle Indexes LCG01 Pattern and Hatch Values LCG01 Additional Information 8 Tektronix 4014 Workstation Specifics Valid Bit Mask Values Tektronix 4014 Programming Considerations Tektronix Color and Bundle Indexes Tektronix Pattern and Hatch Values Tektronix 4014 Input Information Choice Input Class Locator Input Class Pick Input Class String Input Class Stroke Input Class Valuator Input Class Tektronix Additional Information 9 Tektronix and VS500 Workstation Specifics Programming Considerations Tektronix 4107 and 4207 Color and Bundle Indexes Tektronix 4128, 4129, and Digital VS500 Color and Bundle Indexes Tektronix 4100 and 4200 Series Pattern and Hatch Values Tektronix 4100 and 4200 Input Information How to Use Additional Physical Devices Choice Input Class Locator Input Class Pick Input Class String Input Class Stroke Input Class Valuator Input Class Tektronix 4100 and 4200 Additional Information 10 VAXstation Workstation Specifics VAXstation Valid Bit Mask Values Programming Considerations Cell Array Restriction Monochrome VAXstation Color and Bundle Indexes Color VAXstation Color and Bundle Indexes Color VAXstation Pattern and Hatch Values VAXstation Input Information Choice Input Class Locator Input Class Pick Input Class String Input Class Stroke Input Class Valuator Input Class VAXstation Font Support VAXstation Additional Information 11 DECwindows Workstation Specifics Connection Identification Valid Bit Mask Values Programming Considerations Cell Array Restriction Monochrome DECwindows Color and Bundle Indexes Color DECwindows Color and Bundle Indexes DECwindows Pattern and Hatch Values DECwindows Input Information Choice Input Class Locator Input Class Pick Input Class String Input Class Stroke Input Class Valuator Input Class DECwindows Font Support DECwindows Additional Information 12 DDIF Output Workstation Specifics DDIF Output Valid Bit Mask Values Color Reservation and Predefined Color Indexes Predefined Color Indexes Predefined Polyline Bundle Indexes Predefined Polymarker Bundle Indexes Predefined Text Bundle Indexes Predefined Fill Area Indexes DDIF Pattern and Hatch Values A Extended DEC GKS-3D Functions Data Record Format Used in This Appendix Generalized Drawing Primitives (GDPs) Unfilled GDPs Filled GDPs Cell Array GDPs Escape Functions Control Escape Functions Output, Attribute, and Transformation Escape Functions DEC GKS-3D DECwindows Escape Functions DEC GKS-3D State List Inquiry Escape Functions Workstation State List Inquiry Escape Functions Workstation Description Table Inquiry Escape Functions Utility Escape Functions B CGM Structures B.1 Computer Graphics Metafiles B.2 Differences Between GKS-3D and CGM B.3 CGM Structure B.4 Character Encoding B.5 Clear Text Encoding B.6 CGM Element Descriptions B.7 CGM Physical File Organization B.8 CALS and TOP Application Profiles B.9 CALS and TOP Data Precision B.10 Font Selection B.11 CGM Encoding Examples C DEC GKS-3D Input Values C.1 Logical Input Device Numbers C.2 Logical Input Devices C.2.1 Choice Devices C.2.1.1 Choice 1 C.2.1.2 Choice 2 C.2.1.3 Choice 3 C.2.1.4 Choice 4 C.2.1.5 Choice 5 C.2.1.6 Choice 6, 7, and 8 C.2.2 Locator Devices C.2.2.1 Locator 1, 2, 3, and 4 C.2.3 Pick Devices C.2.3.1 Pick 1, 2, 3, and 4 C.2.4 String Devices C.2.4.1 String 1 and 4 C.2.4.2 String 2 C.2.4.3 String 3 C.2.5 Stroke Devices C.2.5.1 Stroke 1, 2, 3, and 4 C.2.6 Valuator Devices C.2.6.1 Valuator 1, 2, 3, and 4 C.2.7 Input Devices and Echo Area Titles C.3 Prompt and Echo Types, and Data Records C.3.1 Choice Input Class C.3.1.1 Choice Class: All Prompt and Echo Types C.3.2 Locator Input Class C.3.2.1 Locator Class: Prompt and Echo Types -1 C.3.2.2 Locator Class: Prompt and Echo Types 1, 2, 3, 6, and -11 C.3.2.3 Locator Class: Prompt and Echo Type 4, -12, -10, -9, -5, and -4 C.3.2.4 Locator Class: Prompt and Echo Type 5 and -2 C.3.2.5 Locator Class: Prompt and Echo Type -8, -7, -6, and -3 C.3.3 Pick Input Class C.3.3.1 Pick Class: All Prompt and Echo Types C.3.4 String Input Class C.3.4.1 String Class: Prompt and Echo Type 1 C.3.5 Stroke Input Class C.3.5.1 Stroke Class: Prompt and Echo Type 1 C.3.5.2 Stroke Class: Prompt and Echo Type 3 C.3.5.3 Stroke Class: Prompt and Echo Type 4 C.3.6 Valuator Input Class C.3.6.1 Valuator Class: Prompt and Echo Types -1, -2, and -3 C.3.6.2 Valuator Class: Prompt and Echo Types 1, 2, and 3 C.4 Keypad Functionality C.4.1 Cycling Logical Input Devices C.4.2 Numeric Keypad (Zoning Mechanism) C.4.3 Numeric Keypad (Choice) C.4.4 Auxiliary Keypad (Choice) C.4.5 The LOCK Key D DEC GKS-3D Attribute Values D.1 Initial Polyline Attributes D.2 Initial Polymarker Attributes D.3 Initial Text Attributes D.4 Initial Fill Area Attributes D.5 Initial Segment Attributes D.6 Initial Normalization Transformation Settings EXAMPLES 11-1 DECwindows Sample Application A-1 C Data Structure for Escape Input Data Record A-2 Using the FORTRAN Escape Function -440 B-1 Metafile Creation B-2 Clear Text Encoded Metafile FIGURES 5-1 LVP16 Font Number -5000 5-2 LVP16 Font Number -5001 5-3 LVP16 Font Number -5002 5-4 LVP16 Font Number -5003 5-5 LVP16 Font Number -5004 5-6 LVP16 Font Number -5006 5-7 LVP16 Font Number -5007 5-8 LVP16 Font Number -5008 5-9 LVP16 Font Number -5009 5-10 LVP16 Font Number -5030 5-11 LVP16 Font Number -5031 5-12 LVP16 Font Number -5032 5-13 LVP16 Font Number -5033 5-14 LVP16 Font Number -5034 5-15 LVP16 Font Number -5035 5-16 LVP16 Font Number -5036 5-17 LVP16 Font Number -5037 5-18 LVP16 Font Number -5038 5-19 LVP16 Font Number -5039 10-1 VAXstation Maximum Display Size 10-2 Adjusting VAXstation Echo Area Windows 10-3 VAXstation Font -200: Taber 10-4 VAXstation Font -201: Bold Taber 10-5 VAXstation Font -203: Bold Wide Taber 10-6 VAXstation Font -202: Wide Taber A-1 Using Vector Origin Points A-2 Forming an Ellipse A-3 GDP_IMAGE_ARRAY Order of Points B-1 CGM Components B-2 CGM Basic Data Encoding Format B-3 CGM Basic Encoding Format for Real Numbers TABLES 9-1 Tektronix 4100, 4200, and Digital VS500 Physical Device Information B-1 CGM Element Descriptions