home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-05-03 | 246.8 KB | 9,240 lines |
-
- Preliminary GKS User Manual
-
- Section 1. General
-
- 1.1 Purpose of the Users Manual.
-
- This user's manual provides an overview of the Graphical
- Kernel System (GKS) implemented in Ada. It provides
- general background information about GKS and references
- to textbooks that can be used by application programmers
- unfamiliar with graphics. More importantly, this manual
- provides the specifics for installing GKS at a computer
- site and configuring the level functionality of GKS
- desired.
-
- 1.2 Background
-
- The GKS is an international standard describing
- high-level graphics functions. These functions enable a
- programmer to write sophisticated graphics programs
- without learning the scheme for describing graphics on a
- particular device. The GKS/Ada implementation described
- by this user manual is the American National Standard
- (ANS) version of GKS.
-
- The International Standards Organization GKS (ISO/DIS
- 7942) is the basis for the ANS GKS. All functional
- capabilities of ISO GKS are found in the ANS GKS.
- Interested readers should refer to the dpANS GKS
- Specification X3H3/83-25R3, 5 January 1984, for a more
- complete discussion of GKS.
-
- This user manual should be used in conjunction with
- Draft GKS Binding to ANSI Ada X3H3/83-95r1, 20 July
- 1984. GKS/Ada was developed in accordance with this
- binding and should be the application programmer's guide
- for Ada language specifics when using this user's
- manual. This manual does not attempt to duplicate the
- GKS procedure and parameter listings that are entailed
- in the binding; however, function descriptions are
- offered in this manual for each GKS function.
-
- You may want to refer to the following books to gain a
- familiarity of graphics. These books treat GKS
- specifically,aas well as, computer graphics in general.
-
-
- Enderle, G., Kansy, K. and Pfaff, G. Computer
- Graphics Programming: GKS - The Graphics Standard.
- Springer-Verlag, 1984.
-
- This 542 page textbook is a thorough introduction
- to computer graphics programming using GKS. This
- textbook was referred to most by the implementors
- of GKS/Ada and should satisfy the needs of GKS/Ada
- graphics users.
-
- Hopgood, F.R.A., Duce, D. A., Gallop, J. R.,
- Sutcliffe, D. C., Introduction to the Graphical
- Kernal System (GKS). Academic Press, 1983.
-
- This textbook is an introduction to GKS. It is
- written by the people (among others) who wrote and
- reviewed the ISO GKS document.
-
- Section 2. Understanding GKS
-
- 2.1 GKS Application
-
- Using GKS Level ma a programmer can write programs to do
- the following:
-
- Draw pictures on a display using lines, markers,
- text, patterned areas, and pixel-filled areas.
-
- All of these functions and more are available to the
- application programmer when using GKS. Because these
- functions are device independent the programmer need not
- specify the particular device that makes up the GKS
- workstation (physical device(s) in the GKS system).
-
- 2.2 GKS Architecture
-
- The basic architecture of GKS/Ada is based on 5 major
- components and 3 interfaces. The components are the
- GKS, the Workstation Manager, the Workstation
- Communication Link, the Workstation Driver, and the
- Device Driver. The interfaces are the Ada language
- binding to GKS, the Common Graphics Interface (CGI) and
- Device Driver Interfaces.
-
- The GKS component is the highest level component in the
- GKS system architecture. It interfaces to graphic
- application programs via the Ada language binding. This
- component is responsible for most of the error checking
- in the system, transforming World Coordinates into
- Normalized Device Coordinates, and some other
- housekeeping functions. All other GKS operations are
- performed by the Workstation Manager and Workstation
- Drivers.
-
- The Workstation Manager is the supervisor of the graphic
- workstations. It is responsible for transmitting output
- primitives to appropriate graphic workstations,
- supporting attribute manipulation, segment manipulation,
- etc. The GKS component interfaces with the Workstation
- Manager through the CGI, and in turn the Workstation
- Manager communicates with workstations via the
- Workstation Communication Links using the CGI.
-
- A Workstation Driver exists for each workstation type.
- The Workstation Driver is responsible for accepting CGI
- operations and translating them into appropriate device
- specific commands. The Device Driver supports each of
- the device specific commands expressed as the Device
- Driver Interface. The Device Driver encodes the Device
- Driver Interface operations and transmits them to the
- device.
-
- 2.3 GKS Configuration
-
- This is a production quality device independent software
- package written in the Ada Programming Language,
- ANSI/MIL-STD-1815A, January, 1983. As such, it can be
- configured to run on a computer with a compiler
- supporting Ada validated to this military specification.
-
- This software package is structured so that GKS/Ada
- versions may be configured which contain only specified
- GKS levels to allow efficient use of the package on
- systems where storage is a concern. GKS/Ada is also
- structured to allow configuration of multiple graphic
- device drivers.
-
- The graphics device supported by this implementation of
- GKS is the Lexidata 3700 (color raster device). Raster
- graphics make possible the display of solid color areas
- offering an especially rich means for communicating
- information.
-
- GKS/Ada was developed on a Data General MV8000 using the
- Ada Development Environment (ADE). The ADE includes
- tools to support software development built on top of
- the AOS/VS operating system. The release of GKS
- contained on this tape is configured to run on such an
- installation. The DG user executing a GKS application
- must have the account's user profile set allowing the
- privilege to change the priority type. Further, the
- Lexidata I/O card uses DG data channel 48 for input and
- data channel 49 for output. The Lexidata device driver
- must be configured using these ports for this release of
- GKS.
-
- 2.4 GKS Functions
-
- GKS provides a set of strictly defined graphical
- procedures which serve as an interface between the
- application program and the physical graphics devices.
- As stated above, the mapping of GKS functionality to Ada
- procedures can be found in the GKS/Ada binding.
-
- The GKS standard defines twelve levels of graphic
- functionality. A user of GKS/Ada need implement only
- the level that provides the functionality required for
- the application. If additional or less functionality is
- desired as the application evolves, this software
- package can be reconfigured to provide the proper level
- of functionality. Section 3.1.4 of the GKS Binding
- provides an alphabetical list of GKS functions by
- level. Appendix A of this user manual provides detailed
- descriptions of the GKS functions.
- Since this is a preliminary version of the user's
- manual, the detailed descriptions in Appendix A include
- all the GKS Level A functions; whereas the functionality
- of the GKS code contained on the magnetic tape are upto
- GKS Level ma.
-
- Section 3. Installing GKS
-
- 3.1 Where to Begin
-
- There are 188 Ada source files and 5 object files on the
- tape containing the initial release of GKS Level ma.
- Appendix B lists the Ada source files necessary to
- configure Level ma of GKS. The five object (".OB")
- files contain proprietary software to interface the DG
- and Lexidata device driver. These five relocatable
- binary files must be introduced into the Ada library
- containing the compiled GKS Ada source files. This is
- achieved on the MV8000 by using the IMPORT command while
- in the Ada Development Environment. The file
- NAME_IMPORT.CLI provides a set of DG macroinstructions
- to achieve this.
-
- These files are listed in the order of compilation. It
- is imperative that these source files be compiled in the
- order listed. The specific directions contained in
- Appendix B apply for DG MV8000 users.
-
- 3.2 GKS Level Functionality Configuration
-
- GKS can be configured for any of the twelve levels
- desired. Since this user manual has been written for
- Level ma (the lowest level of GKS), additional
- discussion to do this will be included in later releases
- of the user manual.
-
-
-
- APPENDIX A
-
-
-
-
- FUNCTION NAME: OPEN_GKS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This function initializes GKS
-
-
-
- INPUTS:
- ERROR_FILE: User-defined file for reporting errors
- detected by GKS.
-
- AMOUNT_OF_MEMORY: Required by GKS but currently ignored.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 1: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- the state GKCL.
- 2: MISC_ERROR. Specified error file is invalid.
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION: OPEN_GKS must be invoked before any other GKS
- function. After OPEN_GKS has been invoked the GKS state list is
- allocated and initialized, the GKS description table and the
- workstation description tables are made available, and the operating
- state list is set to GKOP = "GKS open" in the GKS state list.
- The procedure checks if the operating state is set to GKCL in the
- GKS_OPERATING_STATE_LIST. If it is not set to GKCL, error 1 occurs and
- the exception STATE_ERROR is raised.
-
-
-
-
-
-
-
-
- FUNCTION NAME: CLOSE_GKS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This function closes GKS.
-
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 2: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- the state GKOP.
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION: When CLOSE_GKS is invoked all of the GKS data
- structures are made unavailable and no further GKS functions may be
- invoked. The operating state list is set to GKCL = "GKS closed."
- The procedure inquires the GKS_OPERATING_STATE_LIST initially. If
- the operating state is not GKOP, error 2 occurs and the exception
- STATE_ERROR is raised.
-
-
-
-
- FUNCTION NAME: OPEN_WS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure calls the workstation manager to
- open a workstation and thus add it to the set of open workstations
- in the GKS_STATE_LIST.
-
-
- INPUTS:
- WS: The workstation to be opened.
- CONNECTION: The physical identifier associated with the logical
- WS identifier.
- TYPE_OF_WS: Indicates the type of workstation being opened.
-
-
- OUTPUTS:
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 21: WS_ERROR. Specified connection identifier is invalid.
- 22: WS_ERROR. Specified workstation type is invalid.
- 23: WS_ERROR. Specified workstation type does not exist.
- 24: WS_ERROR. Specified workstation is open.
- 26: WS_ERROR. Specified workstation cannot be opened.
- 28: WS_ERROR. Workstation independent segment storage is already
- open.
- 42: WS_ERROR. Maximum number of simultaneously open workstations
- would be exceeded.
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure opens a specified workstation by initializing
- the device to the current environmental values and inquiring the
- device capabilities. The display surface is cleared if not already
- empty.
- OPEN_WS starts by inquiring the GKS operating state list
- for the GKS operating state. If GKS is not in the proper state, error
- 8 occurs and the procedure raises the exception STATE_ERROR. If GKS is
- in the proper state, this procedure inquires the GKS_STATE_LIST to
- check if the WS is already open. If it is, error 24 occurs and the
- procedure raises the exception WS_ERROR. Then the call to the
- WS_MANAGER is made. If no errors occur, this procedure sets the
- operating state to WSOP = "at least one workstation open." If errors
- 21, 22, 26, or 28 are returned by the workstation manager, this
- procedure will raise the exception WS_ERROR.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: CLOSE_WS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure calls the workstation manager to
- release the connection between the workstation and GKS.
-
-
-
-
-
- INPUTS:
- WS: Workstation to be closed.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 29: WS_ERROR. Specified workstation is active.
- 147: INPUT_ERROR. Input queue has overflowed.
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure terminates the specified workstation. When it is
- called, an implicit UPDATE WORKSTATION is performed for the specified
- workstation.
- CLOSE_WS starts by inquiring the GKS operating state list
- to see if GKS is in state WSOP, WSAC, or SGOP. If it is not, then
- error 7 occurs and the exception STATE_ERROR is raised. CLOSE_WS then
- inquires the GKS_STATE_LIST to determine whether the WS is in the set
- of open workstations. If it is not, error 25 occurs and the exception
- WS_ERROR is raised. The procedure also check the GKS_STATE_LIST to
- determine whether the WS is in the set of active workstations. If it
- is, error 29 occurs and the exception WS_ERROR is raised.
-
-
-
- FUNCTION NAME: ACTIVATE_WS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure calls the workstation manager
- to activate a workstation.
-
-
-
- INPUTS:
- WS: Identifier of the workstation to be activated.
-
-
-
- OUTPUTS:
-
-
-
- ERRORS/EXCEPTIONS:
- 6: STATE_ERROR. GKS is not in the proper state; GKS shall be
- either in the state WSOP or in the state WSAC.
- 25: WS_ERROR. Specified workstation is not open.
- 29: WS_ERROR. Specified workstation is active.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 43: WS_ERROR. Maximum number of active workstation would be
- exceeded.
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure activates a specified workstation and causes
- subsequent output or stored segments to go to the specified device.
- ACTIVATE_WS first checks the GKS operating state list to
- determine whether or not GKS is in either of the states WSOP or WASC.
- If it is not, error 6 occurs and the exception STATE_ERROR is raised.
- Then the procedure inquires the GKS_STATE_LIST to check if the WS is
- in the set of open workstations. If it is not, error 25 occurs and the
- exception WS_ERROR is raised. The procedure also checks the
- GKS_STATE_LIST to determine whether the WS is in the set of active
- workstations. If it is, error 29 occurs and the exception WS_ERROR is
- raised. Then, if the addition of another active workstation would
- exceed the MAX_ACTIVE_WS number in the GKS_DESCRIPTION_TABLE, error
- 43 occurs and the exception WS_ERROR is raised.
- Otherwise, this procedure calls the workstation manager to
- activate the workstation. If the workstation manager returns errors 33
- or 35, this procedure raises the exception WS_ERROR.
-
-
-
-
-
- FUNCTION NAME: DEACTIVATE_WS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure calls the workstation manager
- to deactivate a workstation.
-
-
-
- INPUTS:
- WS: The identifier of the workstation to be deactivated.
-
-
-
- OUTPUTS:
-
-
-
- ERRORS/EXCEPTIONS:
- 3: STATE_ERROR. GKS is not in the proper state; GKS shall be
- in the state WSAC.
- 30: WS_ERROR. Specified workstation is not active.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure terminates graphics output to a specified
- workstation. Primitives will no longer be sent to this workstation and
- new segments will not be stored. Segments already stored on this
- workstation are retained.
- DEACTIVATE_WS first inquires the GKS_OPERATING_STATE_LIST to
- determine whether GKS is in the state WSAC. If it is not, error 3
- occurs and this procedure raises the exception STATE_ERROR. The
- procedure then inquires the GKS_STATE_LIST to determine whether the WS
- is in the set of active workstations. If it is not, error 30 occurs
- and the exception WS_ERROR is raised. Otherwise, this procedure calls
- the workstation manager to deactivate the workstation. If the
- workstation manager returns errors 33 or 35, the procedure raises the
- exception WS_ERROR.
- This procedure sets the operating state to WSOP = "At least one
- workstation open" in the GKS_OPERATING_STATE_LIST if no workstations
- remain active. This is determined by inquiring the GKS_STATE_LIST.
-
-
-
-
-
- FUNCTION NAME: CLEAR_WS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure calls the workstation manager to
- clear a workstation.
-
-
-
- INPUTS:
- WS: The identifier of the workstation on which the display
- surface is to be cleared.
- FLAG: Indicates the conditions under which the display surface
- is to be cleared. It may be set to either CONDITIONALLY
- or ALWAYS.
-
-
- OUTPUTS:
-
-
-
- ERRORS/EXCEPTIONS:
- 6: STATE_ERROR. GKS is not in the proper state; GKS shall be
- either in the state WSOP or in the state WSAC.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure clears the display surface of the workstation
- according to the control flag. If the control flag is set to 0, the
- display surface is cleared only if an object appears on it. If the
- flag is set to 1, the display surface is always cleared. All segments
- for the workstation are also released. If no other workstations are
- associated with a segment, it is deleted.
- CLEAR_WS inquires the GKS_OPERATING_STATE_LIST
- determine whether GKS is in either of the states WSOP or WSAC. If it
- is not, error 6 occurs and the exception STATE_ERROR is raised. Then
- this procedure inquires the GKS_STATE_LIST to determine whether the WS
- is in the set of open workstations. If it is not, error 25 occurs and
- the exception WS_ERROR is raised.
- Otherwise, this procedure calls the workstation manager to clear
- the workstation. If the workstation manager returns errors 33 or 35,
- this procedure raises the exception WS_ERROR.
-
-
-
-
- FUNCTION NAME: UPDATE_WS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure calls the workstation manager to
- update a workstation.
-
-
-
-
-
- INPUTS:
- WS: The identifier of the workstation that is to be
- updated.
- REGENERATION: This flag may have one of two values, PERFORM or
- POSTPONE to indicate the regeneration action on
- the display.
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be
- in one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- The UPDATE_WS procedure is used to get a true representation of
- the graphics picture when the dynamic modification capability is IRG
- (implicit regeneration necessary). If the regeneration flag is set to
- POSTPONE, then blocked data is transmitted, causing all pending
- graphics actions to be executed. If the regeneration flag is set to
- PERFORM and a new frame at update is necessary, (i.e. the workstation
- transformation has changed or some segment attributes have changed
- which require an implicit regeneration) then the display surface is
- cleared and all visible segments stored on this workstation are
- redisplayed.
-
-
-
-
- FUNCTION NAME: REDRAW_ALL_SEGMENTS_ON_WS
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure redraws all the segments on the
- specified workstation.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be
- in one of the states WSOP, WSAC, or SGOP.
- 25: Specified workstation is not open.
- 33: Specified workstation is of category MI.
- 35: Specified workstation is of category INPUT.
- 36: Specified workstation is Workstation Independent Segment
- Storage.
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure causes all pending output to be executed. The
- display surface is then cleared if not empty, and all visible
- segments stored for the workstation are redisplayed using the last
- requested workstation window and viewport.
-
-
-
- FUNCTION NAME: SET_DEFERRAL_STATE
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure sets the deferral state for a
- specified workstation.
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- DEFERRAL: This is the deferral state in which the
- workstation is to be set.
- REGENERATION: This is the regeneration mode in which the
- workstation is to be set.
-
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'deferral mode' and 'implicit
- regeneration mode' entries in the workstation state list. Depending
- on the new value of 'deferral mode,' deferred output may be unblocked.
- If in the workstation state list, the new value of 'implicit
- regeneration mode' is allowed and 'new frame action necessary at
- update' is yes, then an action equivalent to 'redraw all segments' is
- performed.
-
-
-
- FUNCTION NAME: MESSAGE
-
- CATEGORY: CONTROL
-
-
- BRIEF DESCRIPTION: This procedure sends a message to a specified
- workstation.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- MESSAGE: This is the text string that is to be sent to the
- workstation.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure may display a message at an implementation
- dependent location on the workstation viewport or on some separate
- device associated with the workstation. It does not alter the GKS
- state list.
-
-
-
- FUNCTION NAME: ERROR_LOGGING
-
- CATEGORY: ERROR HANDLING
-
-
- BRIEF DESCRIPTION: This procedure writes the error number and the
- GKS function name detecting the error to the error file.
-
-
-
-
-
-
-
- INPUTS:
- ERROR_INDICATOR: A numeric value representing the type of
- error being logged.
-
- NAME: A string type. Its value is the name of the
- procedure in which the error being logged
- occured.
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
- LEVEL: 0a
-
-
- DETAILED DESCRIPTION:
- ERROR_LOGGING writes the error number and the applicable GKS
- function name to the specified error file. It then returns to the
- calling procedure. Error messages are inserted into the error file
- as strings in the order incurred and are delimited by a single
- carriage return.
-
-
-
-
-
- FUNCTION NAME: EMERGENCY_CLOSE_GKS
-
- CATEGORY: ERROR HANDLING
-
-
- BRIEF DESCRIPTION: This procedure closes GKS in emergency conditions.
-
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure closes GKS in case of a non-recoverable error
- and still saves as much information as possible. All workstations
- are updated, all active workstations are deactivated, all
- workstations are closed, and GKS is closed.
-
-
-
- FUNCTION NAME: GET_ERROR
-
- CATEGORY: ERROR HANDLING
-
-
- BRIEF DESCRIPTION: This procedure allows the applications program
- to access the latest error indicator and subprogram name.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: This is the most recent error indicator.
- NAME: This is the name of the subprogram in which
- the error occured.
-
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure is an additional feature which allows the
- application program to access the most recent error indicator and
- the name of the subprogram in which the error occured.
-
-
-
-
- FUNCTION NAME: INQ_DYNAMIC_MODIFICATION_OF_WS_ATTRIBUTES
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the dynamic modification
- of workstation attributes.
-
-
-
-
-
- INPUTS:
- WS_TYPE: The type of workstation.
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 -
- 39 Specified workstation is neither of
- category OUTPUT nor of category OUTIN.
-
- POLYLINE_REPRESENTATION:
- POLYMARKER_REPRESENTATION:
- TEXT_REPRESENTATION:
- FILL_AREA_REPRESENTATION:
- PATTERN_REPRESENTATION:
- COLOUR_REPRESENTATION:
- TRANSFORMATION:
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
- LEVEL: 1a
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_LINE_TYPE CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current line type.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- LINE_TYPE: The currently defined line type.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
-
- FUNCTION NAME: INQ_LINEWIDTH_SCALE_FACTOR
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current linewidth scale factor.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- LINE_WIDTH: The currently defined line width scale factor.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYLINE_COLOUR_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current polyline colour index.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- COLOUR_INDEX: The currently defined polyline colour index.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYMARKER_TYPE
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current polymarker type.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- MARKER: An integer value representing the type of
- polymarker that is currently selected.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYMARKER_SIZE_SCALE_FACTOR
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current polymarker size scale factor.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- SIZE: This is a positive scale factor value
- indicating the relative size of the polymarker.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYMARKER_COLOUR_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current polymarker colour index.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- COLOUR: An integer value indicating the colour that is
- currently selected for polymarker primitives.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_TEXT_FONT_AND_PRECISION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current text font and precision.
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- FONT_PRECISION: A record describing the text font and
- precision. The FONT component is an integer
- value representing the font selected. The
- PRECISION component may be of the vale
- STRING_PRECISION, CHAR_PRECISION, or
- STROKE_PRECISION.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_CHAR_EXPANSION_FACTOR
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current character expansion factor.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- EXPANSION: A positive scale factor value that indicates
- the character expansion.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_CHAR_SPACING
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain value of the current character spacing.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- SPACING: A scale factor value representing the
- character spacing. A positive value indicates
- the amount of space between characters. A
- negative value indicates the amount of overlap
- between characters.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_TEXT_COLOUR_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current text colour index.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the state GKOP, WSOP,
- WSAC, or SGOP.
-
- COLOUR: An integer value indicating the colour that is
- currently selected for text primitives.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_FILL_AREA_INTERIOR_STYLE
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current fill area interior style.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- STYLE: This enumerated type indicates whether the
- current fill area interior style is HOLLOW,
- SOLID, PATTERN, or HATCH.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_FILL_AREA_STYLE_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current fill area style index.
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- INDEX: A variant record is defining the fill area
- style index. If the discriminant is HOLLOW or
- SOLID, the record has a null component. If it
- is PATTERN, the component is a PATTERN_INDEX.
- If it is HATCH, the record component is a
- HATCH_STYLE_TYPE.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_FILL_AREA_COLOUR_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current fill area colour index.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- COLOUR: An integer value indicating the colour that is
- currently selected for fill area primitives.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_ASF
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS_STATE_LIST to
- obtain the value of the current list of aspect source flags.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
-
- LIST: A record listing all of the aspect source
- flags. Each component may have a value of
- INDIVIDUAL or BUNDLED.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
- LEVEL: ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_DEFAULT_DEFERRAL_STATE_VALUES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns default values of deferral
- states and implicit regeneration mode.
-
-
-
-
-
-
- INPUTS:
- WS_TYPE: The type of workstation.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the state GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of
- category OUTPUT nor of category OUTIN.
-
- DEFERRAL: One of the values ASAP, BNIG, BNIL, or ASTI.
- REGENERATION: Value of the implicit regeneration mode,
- either SUPPRESSED or ALLOWED.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
- LEVEL: 1a
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_NUMBER_OF_SEGMENT_PRIORITIES_SUPPORTED
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the number of segment
- priorities supported.
-
-
-
-
-
-
- INPUTS:
- WS_TYPE: The type of workstation.
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of
- category OUTPUT nor of category OUTIN.
-
- NUMBER_OF_PRIORITIES: Indicates the number of segment
- priorities supported by this type of
- workstation. A value of 0 indicates that a
- continuous range of priorities is supported.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
- LEVEL: 1a
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_DYNAMIC_MODIFICATION_OF_SEGMENT_ATTRIBUTES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the values of dynamic
- modification of segment attributes.
-
-
-
-
-
- INPUTS:
- WS_TYPE: The type of workstation.
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of
- category OUTPUT nor of category OUTIN.
-
- TRANSFORMATION: Segment transformation changeable.
- VISIBLE_TO_INVISIBLE: Visibility changeable from visible to
- invisible.
- INVISIBLE_TO_VISIBLE: Visibility changeable from invisible to
- visible.
- HIGHLIGHTING: Highlighting changeable.
- PRIORITY: Segment priority changeable.
- ADDING_PRIMITIVES: Adding primitives to the open segment.
- DELETION_VISIBLE: Segment deletion immediately visible.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
- LEVEL: 1a
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_CHAR_HEIGHT
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current character height.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- HEIGHT: This is the nominal height of the capital
- letter character.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_TEXT_PATH
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current text path.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- PATH: Indicated the direction taken by the text
- string. It may be Right, Left, Up, or Down.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_TEXT_ALIGNMENT
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current text alignment.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- ALIGNMENT: Indicated the positioning of the text extent
- rectangle in relation to the text position. It
- is a record with a Horizontal component and a
- Vertical component.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PATTERN_REFERENCE_POINT
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current pattern reference point.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- REFERENCE_POINT: The world coordinate point giving the position
- for the start of the pattern. It is a record
- type with X and Y components.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PATTERN_HEIGHT_VECTOR
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current pattern height vector.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- VECTOR: Indicates the pattern height vector.
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PATTERN_WIDTH_VECTOR
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current pattern width vector.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- WIDTH: A vector in world coordinates describing the
- pattern width.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_CHAR_WIDTH
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current character nominal width.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- WIDTH: Indicates the nominal width of characters.
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_CHAR_BASE_VECTOR
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current character base vector.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- VECTOR: Indicates the character base vector in world
- coordinates.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYLINE_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current polyline index.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- INDEX: An integer index into a polyline bundle table,
- each entry of which contains all non-geometric
- aspects of the polyline.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYMARKER_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current polymarker index.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- INDEX: An integer index into a polymarker bundle
- table, each entry of which contains all the
- non-geometric aspects of the polymarker.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_FILL_AREA_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current fill area index.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- INDEX: An integer index into a fill area bundle table,
- each entry of which contains all the
- non-geometric aspects of the fill area
- primitive.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_TEXT_INDEX
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current text index.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- INDEX: An integer index into a text bundle table, each
- entry of which contains all the non-geometric
- aspects of the text primitive.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_CURRENT_NORMALIZATION_TRANSFORMATION_NUMBER
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the current normalization transformation number.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERR0R_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- TRANSFORMATION: An integer value representing the current
- normalization transformation.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_NORMALIZATION_TRANSFORMATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the value of the current normalization transformation.
-
-
-
-
-
-
- INPUTS:
- TRANSFORMATION: An integer value representing a normalization
- transformation.
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- WINDOW_LIMITS: This record defines the extent of the window
- rectangle in world coordinates. Its X and Y
- components give the limits in relation to the
- x and y axes.
- VIEWPORT_LIMITS: This record defines the extent of the viewport
- rectangle in normalized device coordinates. Its
- X and Y components give the limits in relation
- to the x and y axes.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_CLIPPING
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure inquires the GKS state list to
- obtain the current clipping indicator.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- CLIPPING: The value of this enumerated parameter may be
- CLIP or NOCLIP. Its value determines whether
- or not clipping is being performed on the
- current output.
- CLIPPING_RECTANGLE: This record defines the extent of the
- clipping area in normalized device coordinates.
- The X and Y components define the limits of
- rectangle along the x and y axes.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LEVEL_OF_GKS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the level of GKS.
-
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- LEVEL: This enumerated type gives the level of GKS.
- Its value may be Lma, Lmb, Lmc, L0a, L0b, L0c,
- L1a, L1b, L1c, L2a, L2b, or L2c.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_WS_CONNECTION_AND_TYPE
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the connection identifier
- and the workstation type.
-
-
-
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified workstation identifier is invalid.
- 25 Specified workstation is not open.
- CONNECTION: The physical identifier associated with the
- logical WS identifier.
- TYPE_OF_WS: An integer value representing the type of
- workstation.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
- FUNCTION NAME: INQ_TEXT_EXTENT
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the value of the text
- extent rectangle and the concatenation point.
-
-
- INPUTS:
- WS: An integer value indicating the workstation
- identification.
- POSITION: This is a record with X and Y components indicating
- the point in world coordinates where the text
- starts.
- CHAR_STRING: The string of text.
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified workstation identifier is invalid.
- 25 Specified workstation is not open.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 101 Invalid Code string.
- CONCATENATION_POINT: This is a record with X and Y components
- indicating the point in world coordinates that
- can be used as the origin of a subsequent text
- output primitive (as in the concatenation of
- strings).
- TEXT_EXTENT: This is a record with four components
- indicating the LOWER_LEFT, LOWER_RIGHT, UPPER_
- LEFT, and UPPER_RIGHT corner points of the
- text extent rectangle with respect to the
- vertical positioning of the text. Each
- component is a record with X and Y components
- to indicate the point in world coordinates.
-
- ERRORS/EXCEPTIONS:
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_COLOUR_INDICES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of defined
- fill area indices for a particular workstation.
-
-
-
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified workstation identifier is invalid.
- 25 Specified workstation is not open.
- 33 Specified workstation is of category MI.
- 35 Specified workstation is of category INPUT.
- 36 Specified workstation is Workstation
- Independent Segment Storage.
- INDICES: This is a set type of colour indices.
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_COLOUR_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns a value for the colour
- intensities for a colour index on a workstation.
-
-
- INPUTS:
- WS: An integer value indicating the workstation
- identification.
- INDEX: An integer value indicating the colour index
- into the colour table.
- RETURNED_VALUES: This is and enumerated parameter which may be a
- value of SET or REALIZED to indicate whether the
- returned values should be as they were set by
- the program or as they were actually realized.
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified workstation identifier is invalid.
- 25 Specified workstation is not open.
- 33 Specified workstation is of category MI.
- 35 Specified workstation is of category INPUT.
- 36 Specified workstation is Workstation
- Independent Segment Storage.
- 93 Colour index is invalid.
- 94 A representation for the specified colour
- index has not been defined on this
- workstation.
- COLOUR: This is a record with components RED, GREEN,
- and BLUE that represent the colour as a
- combination of intensities.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_WS_TRANSFORMATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns information on the
- workstation transformation.
-
-
- INPUTS:
- WS: An integer value representing the workstation identification.
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified workstation identifier is invalid.
- 25 Specified workstation is not open.
- 33 Specified workstation is of category MI.
- 36 Specified workstation is Workstation
- Independent Segment Storage.
- UPDATE: This enumerated parameter may have the value
- NOTPENDING or PENDING to indicate whether or
- not a workstation transformation change has
- been requested and not yet provided.
- REQUESTED_WINDOW: This record defines the extent of the requested
- window (the window set by SET_WS_WINDOW) in
- normalized device coordinates. Its X and Y
- components give the limits in relation to the
- x and y axes.
- CURRENT_WINDOW: This record defines the extent of the current
- window in normalized device coordinates. Its X
- and Y components give the limits in relation to
- the x and y axes.
- REQUESTED_VIEWPORT: This record defines the extent of the
- requested viewport (the viewport set by SET_
- WS_VIEWPORT) in device coordinates. Its X and Y
- components give the limits in relation to the
- x and y axes.
- CURRENT_VIEWPORT: This record defines the extent of the current
- viewport in device coordinates. Its X and Y
- components give the limits in relation to the
- x and y axes.
-
- ERRORS/EXCEPTIONS:
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure calls the workstation manager to obtain the
- following workstation transformation information:
- 1) the workstation transformation update state
- 2) the requested workstation window
- 3) the current workstation window
- 4) the requested workstation viewport
- 5) the current workstation viewport.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: INQ_DISPLAY_SPACE_SIZE
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the size of the display
- space.
-
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 31 Specified workstation is of category MO.
- 33 Specified workstation is of category MI.
- 36 Specified workstation is Workstation
- Independent Segment Storage.
- UNITS: This is an enumerated parameter which indicates
- if the device coordinate units for the WS are
- in METRES or OTHER.
- MAX_DC_SIZE: This record gives the maximum device coordinate
- magnitude as length along the X and Y axes
- (which are the components of the record).
- MAX_RASTER_UNIT_SIZE: This record provides the raster unit size
- in terms of the raster units along the X and Y
- axes. X and Y are the components of the record.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYLINE_FACILITIES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the values of the
- facilities for polyline.
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- reported.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- LIST_OF_TYPES: This is a set type of LINE_TYPES.
- NUMBER_OF_WIDTHS: This is a natural number representing the
- number of line widths.
- NOMINAL_WIDTH: Indicates the nominal magnitude of the line in
- device coordinates.
- RANGE_OF_WIDTHS: This record gives the MIN and MAX width limits
- for polylines.
- NUMBER_OF_INDICES: This is a natural number representing the
- number of indices.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure call the workstation manager to obtain the values
- of the facilities for polyline. These include:
- 1) the number of available linetypes
- 2) the list of available linetypes
- 3) the number of available linewidths
- 4) the nominal linewidth
- 5) the range of linewidths (minimum, maximum)
- 6) the number of predefined polyline indices.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: INQ_POLYMARKER_FACILITIES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the values of the
- facilities for polymarker.
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- LIST_OF_TYPES: This is a set type of MARKER_TYPES.
- NUMBER_OF_SIZES: This is a natural number representing the
- number of marker sizes.
- NOMINAL_SIZE: Indicates the nominal magnitude of the marker
- in device coordinates.
- RANGE_OF_SIZES: This record gives the MIN and MAX size limits
- for polymarkers.
- NUMBER_OF_INDICES: This is a natural number representing the
- number of indices.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure calls the workstation manager to obtain the values
- of the facilities for polymarker. These include:
- 1) the number of available marker types
- 2) the list of available marker types
- 3) the number of available marker sizes
- 4) the nominal marker size
- 5) the range of marker sizes (minimum, maximum)
- 6) the number of predefined polymarker indices.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: INQ_TEXT_FACILITIES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the values of the
- facilities for text.
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- LIST_OF_FONT_PRECISION_PAIRS: This is a record containing a list
- of records which provide the text FONT and
- PRECISION.
- NUMBER_OF_HEIGHTS: A natural number representing the number of
- text character heights.
- NUMBER_OF_EXPANSIONS: A natural number representing the number
- of expansion factors available.
- EXPANSION_RANGE: This record gives the MIN and MAX values for
- the character expansion factors in device
- coordinates.
- NUMBER_OF_INDICES: A natural number representing the number of
- indices.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure calls the workstation manager to obtain the
- values of the facilities for text. These include:
- 1) the number of text font and precision pairs
- 2) the list of text font and precision pairs
- 3) the number of available character heights
- 4) the minimum character height
- 5) the maximum character height
- 6) the number of available character expansion factors
- 7) the minimum character expansion factor
- 8) the maximum character expansion factor
- 9) the number of predefined text indices.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: INQ_FILL_AREA_FACILITIES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the values for the
- facilities for the fill area construct.
-
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- LIST_OF_INTERIOR_STYLES: This is a set of the interior styles
- available. The values of the components are set
- to 1 if the corresponding style is available.
- LIST_OF_HATCH_STYLES: This is a set of the hatch styles
- available. The values of the components are set
- to 1 if the corresponding hatch style is
- available.
- NUMBER_OF_INDICES: A natural number representing the number of
- indices.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure calls the workstation manager to obtain the
- values of the facilities for the fill area construct. These include:
- 1) the number of available fill area interior styles
- 2) the list of available fill area interior styles
- 3) the number of available hatch styles
- 4) the list of available hatch styles
- 5) the number of predefined fill area indices.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: INQ_COLOUR_FACILITIES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the values of the
- facilities for colour.
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- NUMBER_OF_COLOURS: A positive number indicating the number of
- colours available.
- AVAILABLE_COLOUR: The value of this enumerated parameter can be
- COLOUR or MONOCHROME to indicate whether
- colour output is available on WS.
- NUMBER_OF_COLOUR_INDICES: An integer value representing the
- number of colour indices.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure calls the workstation manager to obtain the
- values of the facilities for colour. These include:
- 1) the number of available colours or intensities
- 2) whether or not colour is available
- 3) the number of predefined colour indices.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_MAX_LENGTH_OF_WS_STATE_TABLES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the values of the maximum
- number of entries in the workstation state tables.
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation identification.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- MAX_POLYLINE_ENTRIES: A natural number representing the maximum
- number of polyline entries in the workstation
- state tables.
- MAX_POLYMARKER_TABLES: A natural number representing the
- maximum number of polymarker entries in the
- workstation state tables.
- MAX_TEXT_ENTRIES: A natural number representing the maximum
- number of text entries in the workstation state
- tables.
- MAX_FILL_AREA_ENTRIES: A natural number representing the maximum
- number of fill area entries in the workstation
- state tables.
- MAX_PATTERN_INDICES: A natural number representing the maximum
- number of pattern indices in the workstation
- state tables.
- MAX_COLOUR_INDICES: A natural number representing the maximum
- number of colour indices in the workstation
- state tables.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure calls the workstation manager to obtain the
- values of the maximum number of entries in the following bundle
- tables:
- 1) polyline
- 2) polymarker
- 3) text
- 4) fill area.
- It also obtains the maximum number of pattern indices and the
- maximum number of colour indices.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: INQ_LIST_OF_AVAILABLE_WS_TYPES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of available
- workstation types.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- TYPES: This is a list of workstation types.
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_MAX_NORMALIZATION_TRANSFORMATION_NUMBER
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the maximum normalization
- transformation number.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- TRANSFORMATION: An integer value representing the maximum
- transformation number available.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_OPERATING_STATE_VALUE
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the operating state.
-
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- VALUE: The value of this enumerated parameter may be GKCL, GKOP,
- WSOP, WSAC, or SGOP to indicate the current operating
- state of GKS.
-
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure returns the current operating state of GKS. No
- error indicator is returned.
-
-
-
-
-
- FUNCTION NAME: INQ_SET_OF_OPEN_WS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the set of open
- workstations.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- WS: This is the set of workstation identifiers.
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure returns the set of open workstations. At levels
- ma and 0a there need only be one workstation in the set.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_NORMALIZATION_TRANSFORMATION_NUMBERS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of normalization
- transformation numbers.
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- LIST: This is a list of the normalization
- transformation numbers.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure returns the list of normalization transformation
- numbers. The list is ordered by viewport input priority, starting with
- the highest priority transformation number.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_WS_CATEGORY
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation category.
-
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- CATEGORY: The value of this enumerated parameter may be
- OUTPUT, INPUT, OUTIN, WISS, MO, or MI to
- indicate the category of the workstation.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_WS_CLASS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation class.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- CLASS: The value of this parameter may be VECTOR_
- DISPLAY, RASTER_DISPLAY, or OTHER_DISPLAY to
- indicate the classification of a workstation of
- category OUTPUT or OUTIN.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PREDEFINED_POLYLINE_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation predefined
- polyline information.
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
- INDEX: An integer value representing the index into the polyline
- tables.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 60 Polyline index is invalid.
- 62 A representation for the specified polyline
- has not been predefined on this workstation.
- LINE: An integer value representing the line type.
- WIDTH: A positive floating point value representing
- the nominal line width.
- COLOUR: An integer value representing an index into the
- colour tables.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
- FUNCTION NAME: INQ_PREDEFINED_POLYMARKER_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation predefined
- polymarker information.
-
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
- INDEX: An integer value representing the index into the
- polymarker tables.
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 66 Polymarker index is invalid.
- 68 A representation for the specified
- polymarker index has not been predefined on
- this workstation.
- MARKER: An integer value representing the marker type.
- SIZE: A positive floating point value representing
- the nominal marker size.
- COLOUR: An integer value representing an index into the
- colour tables.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PREDEFINED_TEXT_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation predefined
- text information.
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
- INDEX: An integer value representing the index into the text
- tables.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 72 Text index is invalid.
- 74 A representation for the specified text
- index has not been predefined on this
- workstation.
- FONT_PRECISION: The two components of this record describe the
- text font and precision aspect. The component
- FONT is an integer value representing the
- character font. The component PRECISION may
- have the value STRING_PRECISION,
- CHAR_PRECISION, or STROKE_PRECISION to
- indicate the text precision.
- EXPANSION: A positive floating point value representing
- the nominal character expansion amount.
- SPACING: A floating point value representing the
- character spacing factor. A positive value
- indicates the amount of space between
- characters in a text string, and a negative
- value indicates the amount of overlap between
- characters.
- COLOUR: An integer value representing an index into the
- colour tables.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: INQ_PREDEFINED_FILL_AREA_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation predefined
- fill area information
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
- INDEX: An integer value representing the index into the fill area
- tables.
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 80 Fill area index is invalid.
- 82 A representation for the specified fill area
- index has not been predefined on this
- workstation.
- INTERIOR: This is the interior style.
- STYLE: This is a variant record defining the fill area
- style. When the discriminant is HOLLOW or
- SOLID, the index is null. When the discriminant
- is PATTERN, the style index is an index into
- the pattern tables. When the discriminant is
- HATCH, the style index indicates which hatch
- style is to be used.
- COLOUR: An integer value representing an index into the
- colour tables.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PATTERN_FACILITIES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the number of predefined
- pattern indices.
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- NUMBER_OF_INDICES: A natural number indicating the number of
- pattern indices.
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PREDEFINED_PATTERN_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation predefined
- pattern information.
-
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
- INDEX: An integer value representing the index into the pattern
- tables.
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 85 Specified pattern index is invalid.
- 89 A representation for the specified pattern
- index has not been predefined on this
- workstation.
- 90 Interior style PATTERN is not supported on
- this workstation.
- PATTERN: This is a record that defines a matrix whose
- dimensions may vary dynamically. It contains
- colour indices as elements.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PREDEFINED_COLOUR_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation predefined
- colour information.
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
- INDEX: An integer value representing the index into the pattern
- tables.
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 93 Colour index is invalid.
- 95 A representation for the specified colour
- index has not been predefined on this
- workstation.
- COLOUR: This is a record with three components, RED,
- GREEN, and BLUE which define the representation
- of a colour as a combination of intensities.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_AVAILABLE_GDP
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of generalized
- drawing primitive identifiers.
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- LIST_OF_GDP: This is the set of GDP identifiers.
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_GDP
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns a list of sets of
- attributes used for a specific generalized drawing primitive.
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the type of workstation.
- GDP: An integer value representing a generalized drawing
- primitive.
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- 22 Specified workstation type is invalid.
- 23 Specified workstation type does not exist.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 41 Specified workstation is not able to
- generate the specified generalized drawing
- primitive.
- LIST_OF_ATTRIBUTES_USED: The components of this record may be
- set to 1 or 0 to indicate whether the following
- attributes are used: POLYLINE_ATTRIBUTES,
- POLYMARKER_ATTRIBUTES, TEXT_ATTRIBUTES, or
- FILL_AREA_ATTRIBUTES.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_WS_STATE
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation state.
-
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified Workstation identifier is invalid.
- 25 Specified workstation is not open.
- 33 Specified workstation is of category MI.
- 35 Specified workstation is of category INPUT.
- STATE: Returns either ACTIVE or INACTIVE.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_WS_DEFERRAL_AND_UPDATE_STATES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the workstation deferral
- and update states.
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified Workstation identifier is invalid.
- 25 Specified workstation is not open.
- 33 Specified workstation is of category MI.
- 35 Specified workstation is of category INPUT.
- 36 Specified workstation is Workstation
- Independent Segment Storage.
- DEFERRAL: Returns the deferral mode of the specified
- workstation.
- REGENERATION: Returns the implicit regeneration mode of the
- specified workstation.
- DISPLAY: Returns whether the display surface is empty.
- FRAME_ACTION: Returns whether a frame action is necessary at
- update time.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure returns the workstation deferral mode and the
- implicit regeneration mode. It also determines whether the display
- surface is empty, and whether frame action is necessary at update
- time.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PIXEL_ARRAY_DIMENSIONS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the pixel array dimensions.
-
-
-
-
-
-
- INPUTS:
- WS: Determines the specified workstation whose device
- coordinate resolution is used to calculate the
- dimensions of the pixel array.
- CORNER_1_1: Specifies the lower left point of the inquired
- pixel array area.
- CORNER_DX_DY: Specifies the upper right point of the inquired
- pixel array area.
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified Workstation identifier is invalid.
- 25 Specified workstation is not open.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- DIMENSIONS: Returns the dimensions, in raster units, of the
- inquired pixel area.
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PIXEL_ARRAY
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the presence of invalid
- values and the colour index array.
-
-
-
- INPUTS:
- WS: Determines the specified workstation whose pixels are
- inquired for colour values.
- CORNER: The point in WC that will be transformed to NDC and
- sent to CGI as the initial point where the pixels will be
- inquired for colour values.
- DX: The WC x-axis offset of the block of pixels to be
- inquired for colour.
- DY: The WC y-axis offset of the block of pixels to be
- inquired for colour.
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified Workstation identifier is invalid.
- 25 Specified workstation is not open.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 40 Specified workstation has no pixel store
- readback capacity.
- 91 Dimensions of colour array are invalid.
- INVALID_VALUES: A flag to indicate the presence of pixels which
- had been transformed outside the workstation's
- viewport.
- PIXEL_ARRAY: The array of colour values of the pixel area
- inquired on the workstation.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PIXEL
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the colour index of the
- pixel.
-
-
-
-
-
- INPUTS:
- WS: An integer value which specifies the workstation.
- POINT: The WC point which, when transformed to NDC, will be
- passed to WS_MANAGER for inquiring the DC pixel colour.
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 20 Specified Workstation identifier is invalid.
- 25 Specified workstation is not open.
- 39 Specified workstation is neither of category
- OUTPUT nor of category OUTIN.
- 40 Specified workstation has no pixel store
- readback capacity.
- COLOUR: Returns the colour of the pixel of a valid
- point on the workstation viewport.
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_WS_MAX_NUMBERS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the maximum limits for
- certain workstation values.
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the state GKOP, WSOP,
- WSAC, or SGOP.
- MAX_OPEN_WS: This specifies the maximum number of
- simultaneously open workstations.
- MAX_ACTIVE_WS: This specifies the maximum number of
- simultaneously active workstations.
- MAX_SEGMENT_WS: This specifies the maximum number of
- workstations associated with a segment.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure returns three values from the GKS description
- table:
- 1) Maximum number of simultaneously open workstations.
- 2) Maximum number of simultaneously active workstations.
- 3) Maximum number of workstations associated with a segment.
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_SET_OF_ACTIVE_WS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the set of active
- workstations.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 8 GKS is not in one of the states GKOP, WSOP,
- WSAC, or SGOP.
- WS: This is the set of active workstations.
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_NAME_OF_OPEN_SEGMENT
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the name of the currently
- open segment.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 4 GKS is not in the state SGOP.
- SEGMENT: This is the identifier of the open segment.
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_SET_OF_SEGMENT_NAMES_IN_USE
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the set of segment names
- in use.
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- SEGMENT: This is the list of segment names in use.
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_SET_OF_ASSOCIATED_WS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the set of workstations
- associated with a particular segment.
-
-
-
-
-
-
-
- INPUTS:
- SEGMENT: This is the identifier of the segment on which the set
- of workstations is being inquired.
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 122 Specified segment does not exist.
- LIST_OF_WS: The list of workstations associated with this
- segment.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_SEGMENT_ATTRIBUTES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the values of the segment
- attributes.
-
-
-
-
-
-
- INPUTS:
- SEGMENT: This is the identifier of the segment on which the
- attributes are being inquired.
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- 122 Specified segment does not exist.
- TRANSFORMATION: This is the transformation matrix.
- VISIBILITY: This is the visibility of the segment. Values
- can be VISIBLE or INVISIBLE.
- HIGHLIGHTING: This is the highlighting of the segment. Values
- can be NORMAL or HIGHLIGHTED.
- PRIORITY: This is the priority of the segment.
- DETECTABILITY: This is the detectability of the segment.
- Values can be UNDETECTABLE or DETECTABLE.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_POLYLINE_INDICES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of polyline
- indices.
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is of category MI.
- 35 Specified workstation is of category INPUT.
- 36 Specified workstation is Workstation
- Independent Segment Storage.
- INDICES: This is the list of polyline indices.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYLINE_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the polyline
- representation.
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- INDEX: The identifier of the index into the set of
- polylines discerning which polyline
- representation is being inquired.
- RETURNED_VALUES: This determines how the values will be returned.
- If it is 'set,' the values will be returned
- according to the program setting. If it is
- 'realized,' they will be returned according to
- how they are actually represented.
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the state WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is of category MI.
- 35 Specified workstation is of category INPUT.
- 36 Specified workstation is Workstation
- Independent Segment Storage.
- 61 A representation for the specified polyline
- has not been defined on this workstation.
- LINE: This is the line type.
- WIDTH: This is the line width scale factor.
- COLOUR: This is the colour index.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_POLYMARKER_INDICES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of polymarker
- indices.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- 36 Specified workstation is Workstation
- Indpendent Segment Storage.
- INDICES: This is the list of defined polymarker indices.
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_POLYMARKER_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of polymarker
- indices.
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- INDEX: This is the identifier of the index into the
- list of polymarker discerning which polymarker
- representation is being inquired.
- RETURNED_VALUES: This determines how the values will be returned.
- If it is 'set,' the values will be returned
- according to the program setting. If it is
- 'realized,' they will be returned according to
- how they are actually represented.
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- 36 Specified workstation is Workstation
- Indpendent Segment Storage.
- 67 A representation for the specified
- polymarker index had not been defined on
- this workstation.
- MARKER: This is the marker type.
- SIZE: This is the marker size scale factor.
- COLOUR: This is the polymarker colour index.
-
-
- ERRORS/EXCEPTIONS:
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_TEXT_INDICES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of text indices.
-
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- 36 Specified workstation is Workstation
- Indpendent Segment Storage.
- INDICES: This is the list of text indices.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_TEXT_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the text representation.
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- INDEX: This is the identifier of the index into the
- list of text types discerning which text
- representation is being inquired.
- RETURNED_VALUES: This determines how the values will be returned.
- If it is 'set,' the values will be returned
- according to the program setting. If it is
- 'realized,' they will be returned according to
- how they are actually represented.
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- 36 Specified workstation is Workstation
- Indpendent Segment Storage.
- 73 A representation for the specified text
- index has not beeen defined on this
- workstation.
- FONT_PRECISION: This is the font precision of the text
- representation.
- EXPANSION: This is the character expansion factor of the
- text representation.
- SPACING: This is the character spacing.
- COLOUR: This is the text colour index.
-
- ERRORS/EXCEPTIONS:
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_FILL_AREA_INDICES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of fill area
- indices.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- 36 Specified workstation is Workstation
- Indpendent Segment Storage.
- INDICES: This is the list of fill area indices.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_FILL_AREA_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the fill area
- representation.
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- INDEX: This is the identifier of the index into the
- list of fill areas discerning which fill area
- representation is being inquired.
- RETURNED_VALUES: This determines how the values will be returned.
- If it is 'set,' the values will be returned
- according to the program setting. If it is
- 'realized,' they will be returned according to
- how they are actually represented.
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- 36 Specified workstation is Workstation
- Indpendent Segment Storage.
- 81 A representation for the specified fill area
- index has not been defined on this
- workstation.
- INTERIOR: This is the fill area interior style. Values
- can be HOLLOW, SOLID, PATTERN, or HATCH.
- STYLE: This is the fill area style index.
- COLOUR: This is the fill area colour index.
-
- ERRORS/EXCEPTIONS:
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_LIST_OF_PATTERN_INDICES
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the list of pattern
- indices.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- 36 Specified workstation is Workstation
- Indpendent Segment Storage.
- INDICES: This is the list of pattern indices.
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_PATTERN_REPRESENTATION
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the pattern representation.
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- INDEX: This is the identifier of the index into the
- list of fill areas discerning which fill area
- representation is being inquired.
- RETURNED_VALUES: This determines how the values will be returned.
- If it is 'set,' the values will be returned
- according to the program setting. If it is
- 'realized,' they will be returned according to
- how they are actually represented.
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- 36 Specified workstation is Workstation
- Indpendent Segment Storage.
- 88 A representation for the specified pattern
- index has not been defined on this
- workstation.
- 90 Interior style PATTERN is not supported on
- this workstation.
- PATTERN: This is the set of pattern indices.
-
- ERRORS/EXCEPTIONS:
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: INQ_SET_OF_SEGMENT_NAMES_ON_WS
-
- CATEGORY: INQUIRY
-
-
- BRIEF DESCRIPTION: This procedure returns the set of segment names
- on a particular workstation.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
-
-
-
-
-
-
-
- OUTPUTS:
- ERROR_INDICATOR: 0 Requested value is available and is being
- returned.
- 7 GKS is not in one of the states WSOP, WSAC,
- or SGOP.
- 25 Specified workstation is not open.
- 33 Specified workstation is category MI.
- 35 Specified workstation is category INPUT.
- SEGMENTS: This is the set of segment names.
-
-
-
-
-
- ERRORS/EXCEPTIONS:
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- If the requested information is available, this procedure returns
- error indicator 0 and the requested information. If the requested
- information is not available, this procedure returns the appropriate
- error indicator to explain the reason for non-availability.
-
-
-
- FUNCTION NAME: WRITE_ITEM_TO_GKSM
-
- CATEGORY: METAFILES
-
-
- BRIEF DESCRIPTION: This procedure is used to write non-graphical
- data to the GKS metafile.
-
-
-
-
-
-
-
- INPUTS:
- WS: Specifies the metafile workstation where the item is
- written.
- ITEM: A record written to the specified metafile.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 5: STATE_ERROR. GKS is not in the proper state. GKS shall be
- in one of the states WSAC or SGOP.
- 32: WS_ERROR. Specified workstation is not of category MO.
- 160: METAFILE_ERROR. Item type is not allowed for user items.
- 161: METAFILE_ERROR. Item length is invalid.
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure is used to write alphanumeric data to a metafile.
- The user specifies the workstation where the item is to be written
- and then inputs the record to be stored.
-
-
-
-
- FUNCTION NAME: GET_ITEM_TYPE_FROM_GKSM
-
- CATEGORY: METAFILE
-
-
- BRIEF DESCRIPTION: This procedure returns the item type from the
- next available metafile item.
-
-
-
-
-
-
- INPUTS:
- WS: Specifies the appropriate metafile workstation.
-
-
-
-
-
-
- OUTPUTS:
- ITEM_TYPE: This is the type of the current item.
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state. GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 34: WS_ERROR. Specified workstation is not of category MI.
- 162: METAFILE_ERROR. No item is left in GKS metafile input.
- 163: METAFILE_ERROR. Metafile item is invalid.
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This is one of the three GKS metafile procedures that the user
- invokes to retrieve and redisplay graphical output that has been
- previously saved in a metafile. Usually they are used in this order:
- 1) GET_ITEM_TYPE_FROM_GKSM
- 2) READ_ITEM_FROM_GKSM
- 3) INTERPRET_ITEM.
-
-
-
-
- FUNCTION NAME: READ_ITEM_FROM_GKSM
-
- CATEGORY: METAFILE
-
-
- BRIEF DESCRIPTION: This procedure returns the current item from the
- output metafile.
-
-
-
-
-
-
- INPUTS:
- WS: Specifies the appropriate metafile workstation.
-
-
-
-
-
- OUTPUTS:
- ITEM: The current GKS metafile data record.
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state. GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 34: WS_ERROR. Specified workstation is not of category MI.
- 162: METAFILE_ERROR. No item is left in GKS metafile input.
- 163: METAFILE_ERROR. Metafile item is invalid.
- 165: METAFILE_ERROR. Content of item data record is invalid for
- the specified item type.
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- READ_ITEM_FROM_GKSM returns the current item on the GKS metafile
- back to the application program and then makes the next item in the
- metafile the current item. This is one of three GKS metafile
- procedures that the user invokes to retrieve and display graphical
- output that was previously saved in a metafile. They are usually used
- in this order:
- 1) GET_ITEM_TYPE_FROM_GKSM
- 2) READ_ITEM_FROM_GKSM
- 3) INTERPRET_ITEM.
-
-
-
- FUNCTION NAME: SKIP_ITEM
-
- CATEGORY: METAFILE
-
-
- BRIEF DESCRIPTION: This procedure allows the user to skip over items
- in the metafile.
-
-
-
-
-
-
-
- INPUTS:
- WS: Specifies the appropriate metafile workstation.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state. GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 34: WS_ERROR. Specified workstation is not of category MI.
- 162: METAFILE_ERROR. No item is left in GKS metafile input.
- 163: METAFILE_ERROR. Metafile item is invalid.
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure is intended to accompany the procedure READ_ITEM_
- FROM_GKSM. It allows the user more mobility in the GKS metafile by
- providing the ability to skip over items rather than having to read
- all items sequentially.
-
-
-
- FUNCTION NAME: INTERPRET_ITEM
-
- CATEGORY: METAFILE
-
-
- BRIEF DESCRIPTION: This procedure interprets and displays the
- returned item.
-
-
-
-
-
- INPUTS:
- ITEM: The current GKS metafile data record.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state. GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 161: METAFILE_ERROR. Item length is invalid.
- 163: METAFILE_ERROR. Metafile item is invalid.
- 164: METAFILE_ERROR. Item type is not a valid GKS item.
- 165: METAFILE_ERROR. Content of item data record is invalid for
- the specified item type.
- 167: METAFILE_ERROR. User item cannot be interpreted.
- 168: METAFILE_ERROR. Specified function is not supported by this
- level of GKS.
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure interprets the supplied item. This causes
- appropriate changes in ths set of GKS state variables and the
- generation of appropriate graphical output, as determined by the
- metafile specification. This is one of three GKS metafile procedures
- that the user invokes to retrieve and redisplay graphical output that
- was previously saved in a metafile. Usually, these procedures are used
- in the following order:
- 1) GET_ITEM_TYPE_FROM_GKSM
- 2) READ_ITEM_FROM_GKSM
- 3) INTERPRET_ITEM.
-
-
-
- FUNCTION NAME: SET_LINE_TYPE
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- line type.
-
-
-
- INPUTS:
- LINE: Indicates the line style to be used for subsequent
- polylines.
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be
- in one of the states GKOP, WSOP, WSAC, or SGOP.
- 63: OUTPUT_ATTRIBUTE_ERROR. Line type is equal to zero.
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION: The current linetype entry in the GKS_STATE_
- LIST is set to the value specified by the parameter. This value is
- used for the display of subsequent POLYLINE output primitives, created
- when the 'current linetype ASF' entry in the GKS_STATE_LIST is
- INDIVIDUAL. This value does not affect the display of subsequent
- POLYLINE output primitives, created when the 'current linetype ASF'
- entry in the GKS_STATE_LIST is BUNDLED.
- Linetype values produce linetypes as indicated:
- 1 Solid line
- 2 Dashed line
- 3 Dotted line
- 4 Dashed-Dotted line
-
- If the specified linetype is not available on a workstation,
- linetype 1 is used on that workstation.
-
-
-
-
-
- FUNCTION NAME: SET_POLYLINE_COLOUR_INDEX
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- polyline colour index.
-
-
-
-
- INPUTS:
- COLOUR: Indicates the colour to be used for subsequent
- polylines.
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 92: OUTPUT_ATTRIBUTE_ERROR. Colour index is less than zero.
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- The 'current polyline colour index' entry in the GKS_STATE_LIST
- is set to the value specified by the parameter. This value is used for
- the display of subsequent POLYLINE output primitives, created when the
- 'current polyline colour index ASF' entry in the GKS_STATE_LIST is
- INDIVIDUAL. This value does not affect the display of subsequent
- POLYLINE output primitives, created when the 'current polyline colour
- index ASF' entry in the GKS_STATE_LIST is BUNDLED.
- The colour index is a pointer into the colour tables of the
- workstations. If the specified colour index is not present in a
- workstation colour table, a workstation dependent colour index is used
- on that workstation.
- The color denoted by a particulart color index is determined by a
- call to the SET_COLOUR_REPRESENTATION procedure. This associates color
- indices to colors specified in red, green and blue intensities.
-
-
-
-
-
- FUNCTION NAME: SET_MARKER_TYPE
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- marker type.
-
-
-
-
- INPUTS:
- MARKER: Indicates the marker style to be used for subsequent
- polymarkers.
-
-
-
-
- OUTPUTS:
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 69: OUTPUT_ATTRIBUTE_ERROR. Marker type is equal to zero.
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION: The 'current marker type' entry in the GKS_
- STATE_LIST is set to the value specified by the parameter. This value
- is used for the display of subsequent POLYMARKER output primitives,
- created when the 'current marker type ASF' entry in the GKS_STATE_
- LIST is INDIVIDUAL. This value does not affect the display of
- subsequent polymarker output primitives, created when the 'current
- marker type ASF' entry in the GKS state list is bundled.
- Marker type values produce centered symbols as indicated:
- 1 .
- 2 +
- 3 *
- 4 0
- 5 X
-
- Marker type 1 is always displayed as the smallest displayable
- dot. If the specified marker type is not available on a workstation,
- marker type 3 is used on that workstation.
-
-
-
-
-
- FUNCTION NAME: SET_POLYMARKER_COLOUR_INDEX
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- polymarker colour index.
-
-
-
-
- INPUTS:
- COLOUR: Indicates the colour to be used for subsequent
- polymarkers.
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 92: OUTPUT_ATTRIBUTE_ERROR. Colour index is less than zero.
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- The 'current polymarker colour index' entry in the GKS state list
- is set to the value specified by the parameter. This value is used for
- the display of subsequent polymarker output primitives, created when
- the 'current polymarker colour index ASF' entry in the GKS state list
- is individual. This value does not affect the display of subsequent
- polymarker output primitives, created when the 'current polymarker
- colour index ASF' entry in the GKS state list is bundled.
- The colour index is a pointer into the colour tables of the
- workstations. If the specified colour index is not present in a
- workstation colour table, a workstation dependent colour index is used
- on that workstation.
- The color denoted by a particular color index is determined by a
- call to the SET_COLOUR_REPRESENTATION procedure. This associates color
- indices to colors specified in red, green, and blue intensities.
-
-
-
-
-
- FUNCTION NAME: SET_TEXT_COLOUR_INDEX
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- test colour index.
-
-
-
-
- INPUTS:
- COLOUR: Indicates the colour of subsequent text primitives.
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 92: OUTPUT_ATTRIBUTE_ERROR. Colour index is less than zero.
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- The 'current text colour index' entry in the GKS state list is
- set to the value specified by the parameter. This value is used for
- the display of subsequent text output primitives, created when the
- 'current text colour index ASF' entry in the GKS state list is
- individual. This value does not affect the display of subsequent text
- output primitives created when the 'current text colour index ASF'
- entry in the GKS state list is bundled.
- The colour index is a pointer into the colour tables of the
- workstations. If the specified colour index is not present in a
- workstation colour table, a workstation dependent colour index is used
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- on that workstation.
- The color denoted by a particular color index is determined by a
- call to the SET_COLOUR REPRESENTATION procedure. This associates color
- indices to colors specified in red, green, and blue intensities.
-
-
-
-
-
- FUNCTION NAME: SET_FILL_AREA_INTERIOR_STYLE
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current fill
- area interior style.
-
-
-
-
-
- INPUTS:
- STYLE: Indicates the interior style to be used for fill area
- primitives. The values may be HOLLOW, SOLID, PATTER, or
- HATCH.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
- LEVEL: MA
-
-
- DETAILED DESCRIPTION:
- The 'current fill area interior style' entry in the GKS state
- list is set to the value specified by the parameter. This value is
- used for the display of subsequent fill area output primitives,
- created when the 'current fill area interior style ASF' entry in the
- GKS state list is individual. This value does not affect the display
- of subsequent fill area output primitives, created when the 'current
- fill area interior style ASF' entry in the GKS state list is bundled.
- The fill area interior style is used to determine in what style
- the area is filled and the possible values are HOLLOW, SOLID, PATTERN,
- and HATCH.
- If the requested interior style is not available on a
- workstation, HOLLOW is used on that workstation.
-
-
-
-
-
- FUNCTION NAME: SET_FILL_AREA_COLOUR_INDEX
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- fill area colour index.
-
-
-
-
- INPUTS:
- COLOUR: Indicates the colour to be used in subsequent fill
- area primitives.
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 92: OUTPUT_ATTRIBUTE_ERROR. Colour index is less than zero.
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- The 'current fill area colour index' entry in the GKS state list
- is set to the value specified by the parameter. This value is used for
- the display of subsequent fill area output primitives, created when
- the 'current fill area colour index ASF' entry in the GKS state list
- is individual. This value does not affect the display of subsequent
- fill area output primitives, created when the 'current fill area
- colour index ASF' entry in the GKS state list is bundled.
- The colour index is a pointer into the colour tables of the
- workstation. If the specified colour index is not present in a
- workstation colour table, a workstation dependent colour index is used
- on that workstation.
- The color denoted by a particular color index is determined by a
- call to the SET_COLOUR_REPRESENTATION procedure. The associates color
- indices to colors specified in red, green, and blue intensities.
-
-
-
-
-
- FUNCTION NAME: SET_CHAR_HEIGHT
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- character height.
-
-
-
-
-
-
- INPUTS:
- HEIGHT: Indicates the nominal height of the capital letter
- character.
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 78: OUTPUT_ATTRIBUTE_ERROR. Character height is less than or
- equal to zero.
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure sets the character height in world coordinates to
- the value specified by the parameter. Character size is mapped to the
- closest character size the device supports.
-
-
-
-
-
-
- FUNCTION NAME: SET_CHAR_UP_VECTOR
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- character up vector.
-
-
-
-
-
-
- INPUTS:
- CHAR_UP_VECTOR: Indicates the up direction of the character.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 79: OUTPUT_ATTRIBUTE_ERROR. Length of character up vector is
- zero.
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure specifies the 'up' direction for characters. A
- vector from the origin (0,0) to the point specified defines the up
- direction for a character.
-
-
-
-
-
-
-
- FUNCTION NAME: SET_TEXT_ALIGNMENT
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- text alignment.
-
-
-
-
-
-
- INPUTS:
- ALIGNMENT: Indicates the positioning of the text extent
- rectangle in relation to the text position. It is a
- record with a horizontal component and a vertical
- component.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- The 'current text alignment' entry in the GKS state list is set
- to the value specified by the parameter. This value is used when
- creating subsequent text output primitives. Text alignment has two
- components: horizontal and vertical. Horizontal can be set to Normal,
- Left, Center, or Right. Vertical can be set to Normal, Top, Cap, Half,
- Base, or Bottom.
-
-
-
-
- FUNCTION NAME: SET_COLOUR_REPRESENTATION
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure modifies the colour associated
- with a colour index on a specified workstation.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value indicating the workstation
- identification.
- INDEX: Indicates the entry in the colour table to be set.
- COLOUR: Defines the representation of a colour as a combination
- of RED, GREEN, and BLUE intensities which are the
- components of the record.
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state. GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 20: WS_ERROR. Specified workstation identifier is invalid.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 93: WS_ERROR: Colour index is invalid.
- 96: WS_ERROR: Colour is outside range.
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure sets the color associated with a color index on a
- specified workstation. Colors are produced by mixing different
- intensities of red, green, and blue.
-
-
-
- FUNCTION NAME: SET_POLYLINE_INDEX
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- polyline index.
-
-
-
-
-
-
-
- INPUTS:
- INDEX: Specifies the polyline index to be set.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 60: Polyline index is invalid.
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current polyline index' entry in the GKS
- state list to the specified value. This value is used when creating
- subsequent polyline output primitives.
-
-
-
-
- FUNCTION NAME: SET_POLYMARKER_INDEX
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- polymarker index.
-
-
-
-
-
-
-
- INPUTS:
- INDEX: Specifies the value of the polymarker index.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 66: Polymarker index is invalid.
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current polymarker index' entry in the
- GKS state list to the value specified. This value is used when
- creating subsequent POLYMARKER output primitives.
-
-
-
-
- FUNCTION NAME: SET_TEXT_INDEX
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current text
- index.
-
-
-
-
-
-
-
- INPUTS:
- INDEX: Specifies the value of the text index.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 72: Text index is invalid.
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure set the 'current text index' entry in the GKS
- state list to the value specified. This value is used when creating
- subsequent text output primitives.
-
-
-
-
- FUNCTION NAME: SET_FILL_AREA_INDEX
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current fill
- area index.
-
-
-
-
-
-
-
- INPUTS:
- INDEX: Specifies the value of the fill area index.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 80: Fill area index is invalid.
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure set the 'current fill area index' entry in the GKS
- state list to the value specified. This value is used when creating
- subsequent fill area output primitives.
-
-
-
-
- FUNCTION NAME: SET_LINE_WIDTH_SCALE_FACTOR
-
- CATEGORY: OUTPUT_ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- line width scale factor.
-
-
-
-
-
-
-
- INPUTS:
- WIDTH: Specifies the value of the line width.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 65: Line width scale factor is less than zero.
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current line width scale factor' entry
- in the GKS state list to the value specified. This value is used for
- the display of subsequent polyline output primitives created when the
- current line width scale factor aspect source flag is set to
- individual.
-
-
-
-
- FUNCTION NAME: SET_MARKER_SIZE_SCALE_FACTOR
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- marker size scale factor.
-
-
-
-
-
-
-
- INPUTS:
- SIZE: Specifies the value of the marker size.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 71: Marker size scale factor is less than zero.
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current marker size scale factor' entry
- in the GKS state list to the value specified. This value is used for
- the display of subsequent polymarker output primitives created when
- the current marker size scale factor aspect source flag is set to
- individual.
-
-
-
- FUNCTION NAME: SET_TEXT_FONT_AND_PRECISION
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current text
- font and precision.
-
-
-
-
-
-
-
- INPUTS:
- FONT_PRECISION: Specifies the value of the text font and
- precision.
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 75: Text font is equal to zero.
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current text font and precision' entry
- in the GKS state list to the value specified. This value is used for
- the display of subsequent text output primitives created when the
- current text font and precision aspect source flag is set to
- individual.
-
-
-
- FUNCTION NAME: SET_CHAR_EXPANSION_FACTOR
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- character expansion factor.
-
-
-
-
-
-
-
- INPUTS:
- EXPANSION: Specifies the value of the character expansion.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 77: Character expansion factor is less than or equal to zero.
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current character expansion factor'
- entry in the GKS state list to the value specified. This value is
- used for the display of subsequent text output primitives created
- when the current character expansion factor aspect source flag is set
- to individual.
-
-
-
- FUNCTION NAME: SET_CHAR_SPACING
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- character spacing.
-
-
-
-
-
-
-
- INPUTS:
- SPACING: Specifies the value of the current character spacing.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure set the 'current character spacing' entry in the
- GKS state list to the value specified. This value is used for the
- display of subsequent text output primitives created when the current
- character spacing aspect source flag is set to individual.
-
-
-
- FUNCTION NAME: SET_FILL_AREA_STYLE_INDEX
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- fill area style index.
-
-
-
-
-
-
-
- INPUTS:
- INDEX: Specifies the value of the fill area style index.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 84: Style (pattern of hatch) is equal to zero.
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current fill area style index' entry
- in the GKS state list to the value specified. This value is used for
- the display of subsequent fill area output primitives created when
- the current fill area style index aspect source flag is set to
- individual.
-
-
-
- FUNCTION NAME: SET_ASF
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the values of the aspect
- source flags.
-
-
-
-
-
- INPUTS:
- ASF: Specifies the values for all of the aspect source flags.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the values of the following aspect source
- flags:
- 1) linetype asf
- 2) linewidth scale factor asf
- 3) polyline colour index asf
- 4) marker types asf
- 5) marker size scale factor asf
- 6) polymarker colour index asf
- 7) text font and precision asf
- 8) character expansion factor asf
- 9) character spacing asf
- 10) text colour index asf
- 11) fill area interior style asf
- 12) fill area style index asf
- 13) fill area colour index asf.
-
-
-
- FUNCTION NAME: SET_TEXT_PATH
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current text
- path.
-
-
-
-
-
-
-
- INPUTS:
- PATH: Specifies the value of the test path.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current text path' entry in the GKS
- state list to the value specified. This value is used when creating
- subsequent text output primitives.
-
-
-
-
- FUNCTION NAME: SET_PATTERN_SIZE
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- pattern size.
-
-
-
-
-
-
-
- INPUTS:
- SIZE: Sets the value of the pattern size in world coordinates.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
- 87: Pattern size value is not positive.
-
-
-
-
-
-
- LEVEL: 0A
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current pattern width vector' entry in
- the GKS state list to the vector (SX,0). The 'current pattern height
- vector' entry in the GKS state list is set to the vector (0,SY). When
- the currently selected fill area interior style is pattern, these
- value are used, where possible, in conjunction with the 'current
- pattern reference point' entry in GKS state list for displaying the
- fill area output primitives.
-
-
-
- FUNCTION NAME: SET_PATTERN_REFERENCE_POINT
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure sets the value of the current
- pattern reference point.
-
-
-
-
-
-
-
- INPUTS:
- POINT: Specified the value of the pattern reference point.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: GKS is not in the proper state; GKS shall be in one of the
- states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the 'current pattern reference point' entry
- in the GKS state list to the value specified. When the currently
- selected fill area interior style is pattern, this value is used,
- where possible, in conjunction with the 'current pattern width vector'
- and 'current pattern height vector' entries in the GKS state list for
- displaying the fill area output primitives.
-
-
-
- FUNCTION NAME: SET_POLYLINE_REPRESENTATION
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure defines an attribute bundle for
- polyline output for a specified workstation.
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
- INDEX: This is the identifier of the polyline index being
- changed or created.
- LINE: This is the line type. Possible values are:
- 1 Solid line
- 2 Dashed line
- 3 Dotted line
- 4 Dashed-Dotted line.
- WIDTH: This is the linewidth scale factor.
- COLOUR: This is the polyline colour index. It is a pointer into
- the colour table of the workstation.
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 63: OUTPUT_ATTRIBUTE_ERROR. Linetype is equal to zero.
- 64: OUTPUT_ATTRIBUTE_ERROR. Specified linetype is not supported
- on this workstation.
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure allows the user to modify a set of bundled
- attributes for polylines. These values are used whenever POLYLINE
- is called.
-
-
-
- FUNCTION NAME: SET_POLYMARKER_REPRESENTATION
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure defines an attribute bundle for
- polymarker output for a specified workstation.
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation identifier.
- INDEX: This is the identifier of the polymarker index being
- changed or created.
- MARKER: This is the marker type. Possible values are:
- 1 .
- 2 +
- 3 *
- 4 0
- 5 X
- SIZE: This is the marker size scale factor.
- COLOUR: This is the polymarker colour index. It is a pointer
- into the colour table of the workstation.
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 67: OUTPUT_ATTRIBUTE_ERROR. A representation for the specified
- polymarker index has not been defined on this workstation.
- 70: OUTPUT_ATTRIBUTE_ERROR. Specified marker type is not
- supported on this workstation.
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure allows the user to create or modify a set of
- bundled attributes for polymarker output. These values are used
- whenever POLYMARKER is called.
-
-
-
- FUNCTION NAME: SET_TEXT_REPRESENTATION
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure defines an attribute bundle for
- text output for a specified workstation.
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- INDEX: This is the identifier of the text index being
- created or changed.
- FONT_PRECISION: This is the font precision of the text
- representation.
- EXPANSION: This is the character expansion factor. It
- specifies the deviation of the width to height
- ratio of the characters from the ratio
- indicated by the font designer.
- SPACING: This specifies how much space is to be inserted
- between two characters.
- COLOUR: This is the text colour index. It is a pointer
- into the colour table of the workstation.
-
- OUTPUTS:
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 75: OUTPUT_ATTRIBUTE_ERROR. Text font is equal to zero.
- 76: OUTPUT_ATTRIBUTE_ERROR. Requested text font is not supported
- for the specified precision on this workstation.
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure allows the user to create or modify a set of
- bundled attributes for text output. These values are used whenever
- TEXT is called.
-
-
-
- FUNCTION NAME: SET_FILL_AREA_REPRESENTATION
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure defines an attribute bundle for
- fill area output for a specified workstation.
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- INDEX: This is the identifier of the fill area index being
- created or changed.
- INTERIOR: This is the interior style of the fill area. Possible
- values are HOLLOW, SOLID, PATTERN, or HATCH.
- STYLE: This is the style index to be associated with the
- fill area bundle being created or modified. It
- Selects a pattern or a hatch style, depending on how
- the parameter INTERIOR is set. This parameter is
- ignored if the user selects HOLLOW or SOLID as the
- interior style.
- COLOUR: This is the fill area colour index. It is a pointer
- into the colour table of the workstation.
-
- OUTPUTS:
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 83: OUTPUT_ATTRIBUTE_ERROR. Specified fill area interior style
- is not supported on this workstation.
- 86: OUTPUT_ATTRIBUTE_ERROR. Specified hatch style is not
- supported on this workstation.
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure allows the user to create or modify a set of
- bundled attributes for fill area output. These values are used
- whenever FILL AREA is called.
-
-
-
- FUNCTION NAME: SET_PATTERN_REPRESENTATION
-
- CATEGORY: OUTPUT ATTRIBUTES
-
-
- BRIEF DESCRIPTION: This procedure defines a pattern to be displayed
- on the specified workstation.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- INDEX: This is the identifier of the pattern index being
- created or modified.
- PATTERN: This specifies the dimensions of the pattern to be set.
-
-
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 90: OUTPUT_ATTRIBUTE_ERROR. Interior style PATTERN is not
- supported on this workstation.
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure allows the user to create or modify a set of
- bundled attributes for the fill area routine interior style PATTERN.
-
-
-
- FUNCTION NAME: POLYLINE
-
- CATEGORY: OUTPUT
-
-
- BRIEF DESCRIPTION: This procedure draws a sequence of connected
- straight lines.
-
-
-
-
-
- INPUTS:
- LINE_POINTS: Provides the array of world coordinate points.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 5: STATE_ERROR. GKS is not in the proper state; GKS shall be
- either in the state WSAC or in the state SGOP.
- 100: OUTPUT_PRIMITIVE_ERROR. Number of points is invalid.
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure draws a sequence of connected straight lines,
- starting from the first point and ending at the last point. The
- polyline attributes used can be set by calling the SET_POLYLINE_TYPE,
- SET_POLYLINE_WIDTH_SCALE_FACTOR, and SET_COLOUR_INDEX procedures.
-
-
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: POLYMARKER
-
- CATEGORY: OUTPUT
-
-
- BRIEF DESCRIPTION: This procedure draws a sequence of markers.
-
-
-
-
-
-
- INPUTS:
- MARKER_POINTS: Provides the array of world coordinate points.
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 5: STATE_ERROR. GKS is not in the proper state; GKS shall be
- either in the state WSAC or in the state SGOP.
- 100: OUTPUT_PRIMITIVE_ERROR. Number of points is invalid.
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure draws the current marker symbol at each of the
- points specified by the X world coordinate and Y world coordinate. The
- marker displayed is specified using the current polymarker attributes,
- whcih can be set by calling the SET_POLYMARKER_TYPE,
- SET_POLYMARKER_SCALE_FACTOR, and SET_POLYMARKER_COLOUR_INDEX
- procedures.
-
-
-
-
-
-
-
-
- FUNCTION NAME: FILL_AREA
-
- CATEGORY: OUTPUT
-
-
- BRIEF DESCRIPTION: This procedure draws a fill area and fills it
- with the currently defined color, pattern, or hatch style.
-
-
-
-
-
- INPUTS:
- FILL_AREA_POINTS: Provides the array of world coordinate
- points.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 5: STATE_ERROR. GKS is not in the proper state; GKS shall be
- either in the state WSAC or in the state SGOP.
- 100: OUTPUT_PRIMITIVE_ERROR. Number of points is invalid.
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- The polygon defined by the input points is filled using the
- currents fill area style, fill area style index, and fill area color.
- These attributes can be set by calling the
- SET_FILL_AREA_INTERIOR_STYLE, SET_FILL_AREA_STYLE_INDEX, and
- SET_FILL_AREA_COLOUR_INDEX procedures.
-
-
-
-
-
-
-
-
-
- FUNCTION NAME: TEXT
-
- CATEGORY: OUTPUT
-
-
- BRIEF DESCRIPTION: This procedure generates a character string.
-
-
-
-
-
- INPUTS:
- POSITION: This is a point in world coordinates at which the
- text will begin.
- TEXT_STRING: The text to be displayed.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 5: STATE_ERROR. GKS is not in the proper state; GKS shall be
- either in the state WSAC or SGOP.
- 101: OUTPUT_PRIMITIVE_ERROR. Invalid code in string.
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure outputs a string of text using current text
- attributes which can be set by calling the SET_TEXT_COLOUR_INDEX,
- SET_TEXT_FONT_AND_PRECISIONS, SET_TEXT_ALIGNMENT,
- SET_CHARACTER_HEIGHT, and SET_CHARACTER_UP_VECTOR procedures. The
- location is specified by the X and Y world coordinates.
-
-
-
-
-
-
-
-
- FUNCTION NAME: CELL_ARRAY
-
- CATEGORY: OUTPUT
-
-
- BRIEF DESCRIPTION: This procedure defines and displays a rectangular
- area for a cell. It then displays color representation within the
- cell.
-
-
-
-
-
-
- INPUTS:
- CORNER_1_1: Specifies the lower left point of the cell array.
- CORNER_DX_DY: Specifies the lower right point of the cell array.
- CELL: Specifies a matrix of color indices for the calls
- created in the cell array.
-
-
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 5: STATE_ERROR. GKS is not in the proper state. GKS shall be in
- one of the states WSAC or SGOP.
-
-
-
-
-
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- The cell array primitive allows the user to define a rectangular
- area and divide it into a grid of DX columns and DY rows. The color of
- each of these cells is determined by the cell's corresponding index in
- the color index array.
- This area is then transformed and mapped onto the display device.
- The transformation could affect the rectangular cells, making them
- parallelograms. Also, if part of the transformed cell is outside the
- window, it may be clipped.
-
-
-
-
-
- FUNCTION NAME: GDP_CIRCLE
-
- CATEGORY: OUTPUT
-
-
- BRIEF DESCRIPTION: This procedure draws a circle.
-
-
-
-
-
-
-
-
- INPUTS:
- CENTER: Provides the center point of the circle in
- world coordinates.
- PERIPHERAL_POINT: Provides a peripheral point on the circle in
- world coordinates.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 5: STATE_ERROR. GKS is not in the proper state. GKS shall be in
- one of the state WSAC or SGOP.
- 104: OUTPUT_PRIMITIVE_ERROR. At least one active workstation is
- not able to generate the specified generalized drawing
- primitive.
- 105: OUTPUT_PRIMITIVE_ERROR. At least one active workstation is
- not able to generate the specified generalized drawing
- primitive under the current transformation and clipping
- rectangle.
-
- LEVEL: 0A
-
-
- DETAILED DESCRIPTION:
- GDP_CIRCLE draws a circle based on user inputs for the circle
- center and one point for the perimeter.
-
-
-
-
-
- FUNCTION NAME: SET_SEGMENT_TRANSFORMATION
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure sets the transformation matrix for
- a segment.
-
-
-
-
-
-
-
- INPUTS:
- SEGMENT: This is the identifier of the segment on which
- the transformation is to be set.
- TRANSFORMATION: This is the transformation matrix.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be
- in one of the states WSOP, WSAC, or SGOP.
- 122: SEGMENT_ERROR. Specified segment does not exist.
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure specifies the transformation matrix for a segment.
- Segment transformations perform scaling, rotation, translation, and
- skewing of segments. The 2 x 3 transformation matrix is composed of a
- 2 x 2 scaling and rotation matrix and a 2 x 1 translation matrix.
- The segment transformation is applied after the normalization
- transformation, but before clipping is performed on the segment.
-
-
-
- FUNCTION NAME: SET_VISIBILITY
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure specifies whether or not a segment
- is visible.
-
-
-
-
-
-
-
- INPUTS:
- SEGMENT: This is the identifier of the segment on which the
- visibility is to be set.
- VISIBILITY: This is the segment visibility. Possible values are
- VISIBLE or INVISIBLE.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be
- in one of the states WSOP, WSAC, or SGOP.
- 122: SEGMENT_ERROR. Specified segment does not exist.
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the visibility of the segment to the value
- specified by the parameter.
-
-
-
-
-
- FUNCTION NAME: SET_HIGHLIGHTING
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure sets the highlighting on a
- specified segment.
-
-
-
-
-
-
-
- INPUTS:
- SEGMENT: This is the identifier of the segment on which
- the highlighting is to be set.
- HIGHLIGHTING: This is the highlighting value of the segment.
- Possible values are NORMAL or HIGHLIGHTED.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 122: SEGMENT_ERROR. Specified segment does not exist.
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the highlighting of a specified segment to
- the value specified by the parameter.
-
-
-
-
-
- FUNCTION NAME: SET_SEGMENT_PRIORITY
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure sets the segment priority.
-
-
-
-
-
-
-
-
- INPUTS:
- SEGMENT: This is the identifier of the segment on which the
- priority is to be set.
- PRIORITY: This is the value of the segment priority. Possible
- values range from 0.0 to 1.0.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 122: SEGMENT_ERROR. Specified segment does not exist.
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure sets the segment priority to the value specified.
- Segment priority affects the display of segments and pick input if
- segments overlap, in which case GKS gives precedence to segments with
- higher priority. If segments with same priority overlap, the result is
- implementation dependent.
-
-
-
- FUNCTION NAME: CREATE_SEGMENT
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure creates a segment.
-
-
-
-
-
-
-
-
- INPUTS:
- SEGMENT: This is the identifier of the segment to be created.
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 3: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- the state WSAC.
- 121: SEGMENT_ERROR. Specified segment name is already in use.
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure creates a segment. All subsequent output
- primitives until the next CLOSE_SEGMENT will be collected into the
- named segment. The new segment is associated with all currently active
- workstations. Primitive attributes are not affected.
-
-
-
- FUNCTION NAME: CLOSE_SEGMENT
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure closes a segment.
-
-
-
-
-
-
-
-
- INPUTS:
-
-
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 4: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- the state SGOP.
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure defines the end of a segment. After a segment is
- closed, primitives may no longer be added to it.
-
-
-
-
-
- FUNCTION NAME: RENAME_SEGMENT
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure renames a segment.
-
-
-
-
-
-
-
-
- INPUTS:
- OLD_SEGMENT: This is the segment identifier which is being
- changed.
- SEGMENT: This is the new segment identifier.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 121: SEGMENT_ERROR. Specified segment name already in use.
- 122: SEGMENT_ERROR. Specified segment does not exist.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure replaces the existing segment name with a new
- segment name.
-
-
-
-
-
- FUNCTION NAME: DELETE_SEGMENT
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure deletes a segment.
-
-
-
-
-
-
-
-
- INPUTS:
- SEGMENT: This is the identifier of the segment that is to be
- deleted.
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 122: SEGMENT_ERROR. Specified segment does not exist.
- 125: SEGMENT_ERROR. Specified segment is open.
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure deletes the named segment from all workstations.
-
-
-
-
-
-
- FUNCTION NAME: DELETE_SEGMENT_FROM_WS
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure deletes a segment from a specific
- workstation.
-
-
-
-
-
-
-
- INPUTS:
- WS: This is the identifier of the workstation from which
- the segment is to be deleted.
- SEGMENT: This is the identifier of the segment to be deleted.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 123: SEGMENT_ERROR. Specified segment does not exist on specified
- workstation.
- 125: SEGMENT_ERROR. Specified segment is open.
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure deletes a segment from the specified workstation.
- If the segment does not then belong to any workstations, this
- procedure has the same effect as DELETE_SEGMENT.
-
-
-
-
- FUNCTION NAME: ASSOCIATE_SEGMENT_WITH_WS
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure associates a segment with a
- specified workstation.
-
-
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- SEGMENT: This is the identifier of the segment which is to be
- associated with the workstation.
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 6: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- either of the states WSOP or WSAC.
- 27: WS_ERROR. Workstation Independent Segment Storage is not
- open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 124: SEGMENT_ERROR. Specified segment does not exist on
- Workstation Independent Segment Storage.
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure sends the segment from Workstation Independent
- Segment Storage to the specified workstation in the same way as if the
- workstation were active when the segment was created. Clipping
- rectangles are copied unchanged.
-
-
-
- FUNCTION NAME: COPY_SEGMENT_TO_WS
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure copies the primitives in a segment
- to the specified workstation.
-
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identifier.
- SEGMENT: The identifier of the segment to be copied.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 6: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- either of the states WSOP or WSAC.
- 27: WS_ERROR. Workstation Independent Segment Storage is not
- open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 35: WS_ERROR. Specified workstation is of category INPUT.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 124: SEGMENT_ERROR. Specified segment does not exist on
- Workstation Independent Segment Storage.
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure sends the primitives in the segment to the
- specified workstation after segment transformation and clipping at the
- rectangle stored with each primitive. The primitives are not stored in
- a segment when they are sent to the workstation.
-
-
-
- FUNCTION NAME: INSERT_SEGMENT
-
- CATEGORY: SEGMENT
-
-
- BRIEF DESCRIPTION: This procedure copies the primitives of a segment
- into either an open segment or a stream of primitive output.
-
-
-
-
-
-
- INPUTS:
- SEGMENT: The identifier of the segment to be inserted.
- TRANSFORMATION: This is the transformation matrix used to insert
- the segment.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 5: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- either of the states WSAC or SGOP.
- 27: WS_ERROR. Workstation Independent Segment Storage is not
- open.
- 124: SEGMENT_ERROR. Specified segment does not exist on
- Workstation Independent Segment Storage.
- 125: SEGMENT_ERROR. Specified segment is open.
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure copies the primitives in the segment to the open
- segment or to the stream of output primitives if no segment is open.
- In both cases the transformed primitives are sent to all active
- workstations. The coordinates of the primitives contained in the
- inserted segment are transformed first by the segment transformation
- specified for it, and secondly by applying the segment transformation
- specified by the input matrix. Together the segment transformation
- and transformation matrix form the insert transformation.
-
-
-
- FUNCTION NAME: SET_WINDOW
-
- CATEGORY: TRANSFORMATION
-
-
- BRIEF DESCRIPTION: This procedure sets the window limits.
-
-
-
-
-
-
- INPUTS:
- TRANSFORMATION: An integer value representing a normalization
- transformation.
- WINDOW_LIMITS: This record defines the extent of the window
- RECTANGLE_LIMITS in world coordinates. Its X
- and Y components give the limits in relation to
- the X and Y axes.
-
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 50: TRANSFORMATION_ERROR. Transformation number is invalid.
- 51: TRANSFORMATION_ERROR. Rectangle definition is invalid.
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure specifies the 2-D window extents for the specified
- transformation number. The window specifies that portion of the world
- that is mapped to the extents of the viewport. The sides of the window
- are always vertical, and the top and bottom are always horizontal.
- Once selected by the SELECT_NORMALIZATION_TRANSFORMATION routine, the
- viewport remains in effect until respecified.
-
-
-
-
-
- FUNCTION NAME: SET_VIEWPORT
-
- CATEGORY: TRANSFORMATION
-
-
- BRIEF DESCRIPTION: This procedure sets the viewport.
-
-
-
-
-
-
- INPUTS:
- TRANSFORMATION: An integer value representing a normalization
- transformation.
- VIEWPORT_LIMITS: This record defines the extent of the viewport
- rectangle in normalized device coordinates.
- Its X and Y components give the limits in
- relation to the X and Y axes.
-
-
- OUTPUTS:
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 50: TRANSFORMATION_ERROR. Transformation number is invalid.
- 51: TRANSFORMATION_ERROR. Rectangle definition is invalid.
- 52: TRANSFORMATION_ERROR. Viewport is not within the normalized
- device coordinate unit square.
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure specifies the 2_D viewport NDC coordinates for the
- transformation number. The viewport is that portion of NDC space that
- the window is mapped into. The extents of the 2-D window will map to
- the extents of the viewport. The extents of the viewport are limited
- to the range 0.0 to 1.0 inclusive. Once selected by the
- SELECT_NORMALIZATION_TRANSFORMATION procedure, the viewport remains in
- effect until respecified.
-
-
-
-
-
- FUNCTION NAME: SELECT_NORMALIZATION_TRANSFORMATION
-
- CATEGORY: TRANSFORMATION
-
-
- BRIEF DESCRIPTION: This procedure selects the normalization
- transformation for graphical output.
-
-
-
-
-
- INPUTS:
- TRANSFORMATION: An integer value representing a normalization
- transformation.
-
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
- 50: TRANSFORMATION_ERROR. Transformation number is invalid.
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure allows the user to define many viewport/window
- transformations and then select which one is to be used in scaling and
- positioning subsequent primitives.
- Each normalization transformation is identified by a
- transformation number to a maximum of 7. Zero is the unity
- transformation which maps world coordinates (0,1) x (0,1) to NDC (0,1)
- x (0,1). Normalization transformations 1 to 7 are user-definable.
-
-
-
-
-
- FUNCTION NAME: SET_CLIPPING_INDICATOR
-
- CATEGORY: TRANSFORMATION
-
-
- BRIEF DESCRIPTION: This procedure sets the clipping indicator.
-
-
-
-
-
-
- INPUTS:
- CLIPPING: The value of this enumerated parameter may be CLIP or
- NOCLIP. Its value determines whether or not clipping
- will be performed on successive output.
-
-
-
-
-
- OUTPUTS:
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
-
-
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure specifies whether 2-D window clipping is on or
- off. If window clipping is on, all output primitives will be clipped
- to the window and will not exceed the viewport boundaries. If window
- clipping is turned off, output primitives may exceed the viewport
- boundaries. If the output primitives exceed the limits of the
- workstation window, they will be clipped.
-
-
-
-
-
- FUNCTION NAME: SET_WS_WINDOW
-
- CATEGORY: TRANSFORMATION
-
-
- BRIEF DESCRIPTION: This procedure sets the workstation window to
- the value specified.
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identification.
- WS_WINDOW_LIMITS: This record defines the extent of the
- workstation window rectangle in normalized
- device coordinates. Its X and Y components give
- the limits in relation to the X and Y axes.
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 20: WS_ERROR. Specified workstation identifier is invalid.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 51: TRANSFORMATION_ERROR. Rectangle definition is invalid.
- 53: TRANSFORMATION_ERROR. Workstation window is not within the
- Normalized Device Coordinate unit square.
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This procedure specifies the 2-D NDC workstation extents. The
- workstation window specifies the portion of NDC space that is mapped
- to the extents of the workstation viewport. The extents of the
- workstation wind
- 'Gow are limited to the range of 0.0 to 1.0 inclusive.
- If the aspect ratio of the workstation window to the workstation
- viewport is not one to one, then the workstation window is mapped to
- the largest rectangle in the workstation viewport that maintains a one
- to one ratio without exceeding the extents specified by
- SET_WORKSTATION_VIEWPORT.
-
-
-
-
- FUNCTION NAME: SET_WS_VIEWPORT
-
- CATEGORY: TRANSFORMATION
-
-
- BRIEF DESCRIPTION: This procedure sets the workstation viewport to
- the specified value.
-
-
-
-
- INPUTS:
- WS: An integer value representing the workstation
- identification.
- WS_VIEWPORT_LIMITS: This record defines the extent of the
- viewport rectangle in device coordinates. Its
- X and Y components give the limits in
- relation to the X and Y axes.
-
-
- OUTPUTS:
-
-
-
-
- ERRORS/EXCEPTIONS:
- 7: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states WSOP, WSAC, or SGOP.
- 20: WS_ERROR. Specified workstation identifier is invalid.
- 25: WS_ERROR. Specified workstation is not open.
- 33: WS_ERROR. Specified workstation is of category MI.
- 36: WS_ERROR. Specified workstation is Workstation Independent
- Segment Storage.
- 51: TRANSFORMATION_ERROR. Rectangle definition is invalid.
- 54: TRANSFORMATION_ERROR. Workstation viewport is not within the
- display space.
-
-
- LEVEL: Ma
-
-
- DETAILED DESCRIPTION:
- This routine specifies the 2-D device coordinate viewport. The
- workstation viewport is that portion of the workstation display
- surface into which the workstation window will be mapped. The extents
- of the workstation window will be mapped into the largest rectangle
- within the specified workstation viewport that will maintain a 1 to 1
- aspect ratio between the workstation window and the workstation
- viewport. Points extending beyond the maximum input to this function
- are clipped. The extents of the viewport are limited to the extents of
- the workstation display surface.
-
-
-
- FUNCTION NAME: EVALUATE_TRANSFORMATION_MATRIX
-
- CATEGORY: UTILITY
-
-
- BRIEF DESCRIPTION: This procedure evaluates the transformation
- matrix.
-
-
-
-
-
-
-
- INPUTS:
- FIXED_POINT: This is the fixed point used either for scaling
- or as the centerpoint in rotation.
- SHIFT_VECTOR: This is the shift vector.
- ROTATION_ANGLE: This is the rotation angle in radians. It is
- positive if the rotation is anticlockwise.
- SCALE_FACTORS: This is the scale factor.
-
-
- OUTPUTS:
- TRANSFORMATION: This is the resulting transformation matrix.
-
-
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure is a utility that can be used to create a
- transformation matrix. The transformation matrix can then be used by
- SET_SEGMENT_TRANSFORMATION, ACCUMULATE_TRANSFORMATION_MATRIX, or
- INSERT_SEGMENT.
-
-
-
- FUNCTION NAME: ACCUMULATE_TRANSFORMATION_MATRIX
-
- CATEGORY: UTILITY
-
-
- BRIEF DESCRIPTION: This procedure accumulates transformation
- matrices.
-
-
-
-
-
-
-
- INPUTS:
- SOURCE_TRANSFORMATION: The name of the transformation matrix to
- be concatenated.
- FIXED_POINT: This is the fixed point used either for
- scaling or as the centerpoint in rotation.
- SHIFT_VECTOR: This is the shift vector.
- ROTATION_ANGLE: This is the rotation angle in radians. It
- is positive if anticlockwise.
- SCALE_FACTORS: This is the scale factor.
-
- OUTPUTS:
- RESULT_TRANSFORMATION: This is the transformation matrix that
- results from the specified input
- parameters.
-
-
-
-
-
- ERRORS/EXCEPTIONS:
- 8: STATE_ERROR. GKS is not in the proper state; GKS shall be in
- one of the states GKOP, WSOP, WSAC, or SGOP.
-
-
-
-
-
-
-
-
- LEVEL: 1A
-
-
- DETAILED DESCRIPTION:
- This procedure is a utility that can be used to concatenate
- transformations. It constructs a segment transformation matrix to be
- used by SET_SEGMENT_TRANSFORMATION or INSERT_SEGMENT.
-
-
- APPENDIX B
-
- This appendix contains a macroinstruction for compiling all
- of level ma. This macro is for use with a Data General AOS/VS
- operating system. If the files are to be compiled on another operating
- system, this appendix merely suplies the correct order of compilation
- for the files.
- The first five lines in the macro compile the package
- specifications for the first of the Device Driver files. The sixth
- line is another macro which is used to import the necessary
- relocatable binary object files and then create the package bodies
- and object code for those first five Device Driver packages.
- If these files are to be compiled on some other operating
- system, the user will have to use whatever command that system
- supplied to successfully compile the Device Driver packages.
-
-
-
- ADA IMPORT_READ.ADA
- ADA IMPORT_WRITE.ADA
- ADA IMPORT_VARIABLES.ADA
- ADA IMPORT_WAIT.ADA
- ADA IMPORT_OPEN.ADA
- NAME_IMPORT
- ADA GKS_CONFIGURATION_MA.ADA
- ADA GKS_COOR_SYS.ADA
- ADA GKS_MATRIX_UTILITIES.ADA
- ADA GKS_LIST_UTILITIES.ADA
- ADA GKS_LIST_UTILITIES_B.ADA
- ADA GKS_TYPES_A.ADA
- ADA LEXI3700_COMM.ADA
- ADA LEXI3700_COMM_B.ADA
- ADA LEXI3700_CONFIG.ADA
- ADA LEXI3700_TYPES.ADA
- ADA LEXI_OUT_DRIVER.ADA
- ADA LEXI_OUT_DRIVER_B.ADA
- ADA OUT_ATTR_TYP.ADA
- ADA CGI_MA.ADA
- ADA DICTIONARY.ADA
- ADA DICTIONARY_B.ADA
- ADA CGI_OPEN_WS_OPS.ADA
- ADA LEXI3700_WSD_MA.ADA
- ADA ERROR_ROUTINES_MA.ADA
- ADA GKS_CONTROL.ADA
- ADA GKS_NORM.ADA
- ADA INQ_BUNDLE_IDX.ADA
- ADA INQ_GKS_DSCR_TBL_MA.ADA
- ADA INQ_GKS_ST_LST_MA.ADA
- ADA INQ_INDV_ATTR.ADA
- ADA INQ_PRIM_ATTR.ADA
- ADA INQ_WS_DSCR_TBL_MA.ADA
- ADA INQ_WS_ST_LST_MA.ADA
- ADA OUT_PRIM.ADA
- ADA SET_CLR_TBL.ADA
- ADA SET_INDV_ATTR_MA.ADA
- ADA SET_PRIM_ATTR_MA.ADA
- ADA WS_CONTROL.ADA
- ADA WS_XFORM.ADA
- ADA WS_TBL_TYP.ADA
- ADA WS_DSCR_TBL_TYP.ADA
- ADA WSR_INQ_WS_DSCR_MA.ADA
- ADA WSR_INQ_WS_DSCR_MA_B.ADA
- ADA RECTANGLE_OPS.ADA
- ADA RECTANGLE_OPS_B.ADA
- ADA DC_OPS_DEFS.ADA
- ADA DC_OPS_DEFS_B.ADA
- ADA DC_OPS.ADA
- ADA NDC_OPS_DEFS.ADA
- ADA NDC_OPS_DEFS_B.ADA
- ADA NDC_OPS.ADA
- ADA DC_POINT_OPS.ADA
- ADA DC_POINT_OPS_B.ADA
- ADA NDC_POINT_OPS.ADA
- ADA NDC_POINT_OPS_B.ADA
- ADA CONVERT_NDC_DC.ADA
- ADA CONVERT_NDC_DC_B.ADA
- ADA WS_ST_LST_TYP_MA.ADA
- ADA LEXI3700_TBLS_MA.ADA
- ADA LEXI_UTILITIES.ADA
- ADA LEXI_UTILITIES_B.ADA
- ADA LEXI_OUT_PRIM_MA.ADA
- ADA WSR_SET_PRIM_MA.ADA
- ADA WSR_SET_PRIM_MA_B.ADA
- ADA WSR_SET_CHAR_VECS.ADA
- ADA WSR_SET_TEXT_AL.ADA
- ADA WSR_SET_INDV_MA.ADA
- ADA WSR_SET_INDV_MA_B.ADA
- ADA WSR_SET_LINETYPE.ADA
- ADA WSR_SET_PLIN_CLR_IDX.ADA
- ADA WSR_SET_PMRK_CLR_IDX.ADA
- ADA WSR_SET_TEXT_CLR_IDX.ADA
- ADA WSR_SET_FA_INT_STY.ADA
- ADA WSR_SET_FA_CLR_IDX.ADA
- ADA WSR_SET_MARK_TYPE.ADA
- ADA WSR_WS_XFORM.ADA
- ADA WSR_WS_XFORM_B.ADA
- ADA WSR_UPDATE_WS_XFORM.ADA
- ADA GKS_ERRORS.ADA
- ADA WSR_INQ_WS_ST_MA.ADA
- ADA WSR_INQ_WS_ST_MA_B.ADA
- ADA WSR_INQ_WS_CON_TYPE.ADA
- ADA WSR_INQ_WS_XFORM.ADA
- ADA WSR_INQ_LST_CLR_IDC.ADA
- ADA WSR_INQ_CLR_REP.ADA
- ADA WSR_SET_CLR_TABLE.ADA
- ADA WSR_SET_CLR_TABLE_B.ADA
- ADA WSR_UTILITIES.ADA
- ADA WSR_UTILITIES_B.ADA
- ADA LEXI_OUT_PRIM_MA_B.ADA
- ADA WSR_PLINE_CLIP.ADA
- ADA WSR_PMRK_CLIP.ADA
- ADA WSR_AREA_CLIP.ADA
- ADA WSR_TEXT_CLIP.ADA
- ADA WSR_LINE_CLIP.ADA
- ADA WSR_TEXT_HANDLING.ADA
- ADA WSR_TRANSFORM.ADA
- ADA LEXI_CLR_OPS.ADA
- ADA LEXI_CLR_OPS_B.ADA
- ADA WSD_SET_CLR_REP.ADA
- ADA WSR_GKS_NORM.ADA
- ADA WSR_GKS_NORM_B.ADA
- ADA ADD_ST_LST_TO_LST_MA.ADA
- ADA DELETE_ST_LST_FR_LST_MA.ADA
- ADA GET_ST_LST_PTR_MA.ADA
- ADA LEXI_WS_CONT_MA.ADA
- ADA LEXI_WS_CONT_MA_B.ADA
- ADA WSD_OPEN_WS.ADA
- ADA WSD_CLOSE_WS_MA.ADA
- ADA WSD_CLEAR_WS_MA.ADA
- ADA WSD_UP_WS_MA.ADA
- ADA LEXI_INQ_TEXT.ADA
- ADA LEXI_INQ_TEXT_B.ADA
- ADA WSD_INQ_TEXT_EXT.ADA
- ADA LEXI3700_WSD_MA_B.ADA
- ADA LEXI3700_TBLS_MA_B.ADA
- ADA WSM_MA.ADA
- ADA WS_COMM.ADA
- ADA WS_COMM_B.ADA
- ADA XMIT.ADA
- ADA XMIT_TYPE.ADA
- ADA XMIT_ALL.ADA
- ADA WSM_MA_B.ADA
- ADA GKS_ST_LST.ADA
- ADA TRANS_FACT.ADA
- ADA TRANS_FACT_B.ADA
- ADA GKS_ST_LST_B.ADA
- ADA TRANS_MATH.ADA
- ADA TRANS_MATH_B.ADA
- ADA GKS_OPERATING_ST_LST.ADA
- ADA GKS_DSCR_TBL_MA.ADA
- ADA GKS_DSCR_TBL_MA_B.ADA
- ADA GKS_ERROR_ST_LST.ADA
- ADA SQUARE_ROOT.ADA
- ADA SQUARE_ROOT_B.ADA
- ADA GET_OUTPUT_ATTR.ADA
- ADA GET_OUTPUT_ATTR_B.ADA
- ADA SET_INDV_ATTR_MA_B.ADA
- ADA SET_PRIM_ATTR_MA_B.ADA
- ADA INQ_PRIM_ATTR_B.ADA
- ADA INQ_BUNDLE_IDX_B.ADA
- ADA INQ_INDV_ATTR_B.ADA
- ADA GKS_NORM_B.ADA
- ADA WS_XFORM_B.ADA
- ADA INQ_GKS_ST_LST_MA_B.ADA
- ADA INQ_GKS_DSCR_TBL_MAB.ADA
- ADA INQ_WS_ST_LST_MA_B.ADA
- ADA INQ_WS_DSCR_TBL_MA_B.ADA
- ADA SET_CLR_TBL_B.ADA
- ADA ERROR_ROUTINES_MA_B.ADA
- ADA WS_CONTROL_B.ADA
- ADA GKS_CONTROL_B.ADA
- ADA OUT_PRIM_B.ADA
- ADA ERROR_LOGGING_S.ADA
- ADA ACTIVATE_WS_S.ADA
- ADA DEACTIVATE_WS_S.ADA
- ADA CLEAR_WS_S.ADA
- ADA CLOSE_WS_S.ADA
- ADA CLOSE_GKS_S.ADA
- ADA FA_S.ADA
- ADA OPEN_GKS_S.ADA
- ADA OPEN_WS_S.ADA
- ADA PLIN_S.ADA
- ADA PMRK_S.ADA
- ADA TXT_S.ADA
- ADA UP_WS_S.ADA
- ADA A_CLIP_UTILITIES_B.ADA
- ADA A_ADD_EDGES.ADA
- ADA A_ADD_INTERIOR.ADA
- ADA A_ADD_TO_EDGE_LIST.ADA
- ADA A_BEGIN_INTERIOR.ADA
- ADA A_JOIN_LINES.ADA
- ADA A_SEP_NEXT_SEGMENT.ADA
- ADA A_SORT_BY_X.ADA
- ADA A_SORT_BY_Y.ADA
- ADA CLIP_ON_BOTTOM.ADA
- ADA BOTTOM_S_AND_H.ADA
- ADA CLIP_ON_LEFT.ADA
- ADA CLIP_ON_RIGHT.ADA
- ADA CLIP_ON_TOP.ADA
- ADA LEFT_S_AND_H.ADA
- ADA RIGHT_S_AND_H.ADA
- ADA TOP_S_AND_H.ADA
- ADA WSD_FA_MA.ADA
- ADA WSD_FIND_EXTENTS.ADA
- ADA WSD_PLINE_MA.ADA
- ADA WSD_PMRK_MA.ADA
- ADA WSD_TEXT_MA.ADA
-