Information processing systems — Computer graphics — Graphical Kernel System (GKS) language bindings — Part 3: Ada

Describes a language-dependent layer for the Ada programming language used for integrating the Graphical Kernel System into this programming language. Defines function mappings, implementation, error handling, data mappings, multi-tasking, compression, environment for applikation programs and recording. The functions of the Ada binding and sample programs are provided.

Systèmes de traitement de l'information — Infographie — Interfaces langage avec GKS — Partie 3: Ada

General Information

Status
Published
Publication Date
14-Sep-1988
Current Stage
9093 - International Standard confirmed
Start Date
06-Jan-2005
Completion Date
08-Dec-2021
Ref Project

Buy Standard

Standard
ISO 8651-3:1988 - Information processing systems -- Computer graphics -- Graphical Kernel System (GKS) language bindings
English language
184 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (sample)

ISO
INTERNATIONAL STANDARD
8651-3
First edition
1988-09-15
INTERNATIONAL ORGANIZATION FOR STANDARDIZATION
ORGANISATION INTERNATIONALE DE NORMALISATION
MEXjJYHAPOP,HAH OPrAHM3AQMfl fl0 CTAH~APTM3A~MM
Information processing Systems - Computer graphics -
Graphical Kerne1 System (GKS) language bindings -
Part 3 :
Ada
Systeme graphique de base (GKS) -
S yst&mes de tratlernen t de IRinformation - lnfographie -
Interface langage -
Partie 3 : Ada
Reference number
ISO 8651-3: 1988 ( .E)
---------------------- Page: 1 ----------------------
ISO 8651-3 : 1988 (E)
Foreword

ISO (the International Organization for Standardization) is a worldwide federation of

national Standards bodies (ISO member bodies). The work of preparing International

Standards is normally carried out through ISO technical committees. Esch member

body interested in a subject for which a technical committee has been established has

the right to be represented on that committee. International organizations, governmen-

tal and non-governmental, in liaison with ISO, also take part in the work. ISO

collaborates closely with the International Electrotechnical Commission (IEC) on all

matters of electrotechnical standardization.

Draft International Standards adopted by the technical committees are circulated to the

member bodies for approval before their acceptance as International Standards by the

ISO Council. They are approved in accordance with ISO procedures requiring at least

75 070 approval by the member bodies voting.
International Standard ISO 8651-3 was prepared by Technical Committee ISO/TC 97,
Information processing Systems.

Users should note that all International Standards undergo revision from time to time

and that any reference made herein to any other International Standard implies its

latest edition, unless otherwise stated.

ISO 865 1 consists of the following Parts, under the general title Information processing

Systems - Computer graphics - Graphit Kerne1 System (GKS) language bindings :
- Part 1 : FORTRAN
- Part 2 : PASCAL
Part3:Ada
Annexes A to G are for information only.
@ International Organization for Standardization, 1988
Printed in Switzerland
---------------------- Page: 2 ----------------------
ISO 8651-3 : 1988 (E)
Page
Contents
0 Introduction ....................................................... 1
1 Scope and field of application .........................................
References ......................................................... 3
3 The Ada language binding of GKS .....................................
3.1 Conformance .................................................. 4
3.2 Implications of the language .....................................
3.2.1 Functional mapping ......................................
3.2.2 Implementation and host dependencies ......................
3.2.3 Error handling ...........................................
3.2.4 Datamapping ...........................................
3.2.5 Multi-tasking ............................................
3.2.6 Packaging ..............................................
3.2.7 Application program environment .......................... 7
3.2.8 Registration .............................................
............................................................. 8
4 Tables
4.1 Procedures ....................................................
4.2 Data Type Definitions ............................................
Abbreviations used in the data type definitions ............... 23
4.2.1
4.2.2 Alphabetical list of type definitions .........................
.................. 48
4.2.3 Alphabetical list of Private type definitions
4.2.4 List of constant declarations ...............................
.................................................... 51
4.3 Errorcodes
5 1
4.3.1 Error Code Definition ....................................
4.3.2 Precluded error Codes. ....................................
5 Functions in the Ada Binding to GKS ..................................
5.1 GKS Functions .................................................
5.2 Additional functions ............................................
........... 91
5.2.1 Subprograms for Manipulating Input Data Records
5.2.2 GISS Generic coordinate System package .....................
GKS Generic list Utility package ............................ 95
5.2.3
5.2.4 Metafile function Utilities. .................................
5.3 Conformal Variants ............................................
Annex A Compiled GKS Specification ................................... 98
Annex B Cross Reference Listing of Implementation Defined Items .......... 148
Annex C Example Programs ........................................... 149
C.l Example Program 1 : STAR .................................... 149
151
C.2 ExampleProgram2: IRON ....................................
C.3 Example Program 3 : MAP ..................................... 157
159
C.4 Example Program 4 : MANIPULATE ...........................
C.5 Example Program 5 : PROGRAM SHOWLN ..................... 163
167
Annex D GKS Multi-Tasking ...........................................
Annex E Unsupported Generalized Drawing Primitives and Escapes. ......... 172
175
Annex F Metafile Item Types ...........................................
Annex G Index of GKS Functions ....................................... 177
............................................... 177
G.l GKSfunctions
G.2 Adaprocedures ............................................... 181
. . .
111
---------------------- Page: 3 ----------------------
This page intentionally left blank
---------------------- Page: 4 ----------------------
~~- ~
ISO 8651-3 : 1988 (E)
INTERNATIONAL STANDARD
Information processing Systems - Computer graphics -
Graphical Kerne1 System (GKS) language bindings -
Part 3 :
Ada
Introduction

The Graphical Kerne1 System (GKS) (ISO 7942) is specified in a language independent manner and needs to be

embedded in language dependent layers (language bindings) for use with particular programming languages.

The purpose of this part of ISO 8651 is to define a Standard binding for the Ada Computer programming language.

---------------------- Page: 5 ----------------------
ISO 8651-3 : 1988 (E)
1 Scope and field of application

ISO 7942 (GISS) specifies a language independent nucleus of a graphics System. For integration into a

programming language, GKS is embedded in a language dependent layer obeying the particular conventions of that

language. This part of ISO 8651 specifies such a language dependent layer for the Ada language.

---------------------- Page: 6 ----------------------
ISO 8651-3 : 1988 (E)
2 Ref erences
Graphical Kerne1 System (GKS) functional description.
ISO 7942, Information processing Systems - Computer graphics -
ISO 8652, Programming Languages - Ada.
---------------------- Page: 7 ----------------------
ISO 8651-3 : 1988 (E)
3 The Ada language binding of GKS

This binding does not assume that the Compiler supports any Ada language features which are implementation

dependent, but implies that the Compiler shall be able to support the declarations contained in this GKS/Ada binding.

This binding does not make any assumptions regarding the machine representation of t;he predefined Ada numeric

types.

This binding assumes that the application programmer will supply an error file name and connection identifier that

are in an acceptable formst for the Ada implementation.

This binding makes no assumptions regarding the format of a string specifying an error file name or connection

identifier for devices or metafiles.
3.1 Conformance

This binding incorporates the rules of conformance defined in the GKS Standard (ISO 7942) for GKS

implementations, with these additional requirements specifically defined for Ada implementations of GKS.

The following criteria are established for determining conformance or non-conformance of an implementation to this

binding:

a) An implementation of GKS in Ada conforms to a level of GKS if it makes visible exaclly the

declarations for that level of GKS and lower levels of GKS as stated in this binding.

b) The semantics of an implementation shall be those stakd in the GKS Standard as modified

or extended for Ada as stated in this binding document.

c) The package corresponding to the GKS level being implemented shall be an available

Ada library unit, with all names as specified by this document.
3.2 Implications sf the language
3.2.1 Functional mapping

The functions of GKS are all mapped to Ada procedures. The mapping utilizes a one-to-one correspondence between

the GKS functions and Ada procedures, except for the GKS functions Inquire Current Primitive Attribute Values and

Inquire Current Individual Attribute Values. These are bound with one Ada procedure for each of the attributes being

inquired; in addition, the attributes are bound as a Single record.
3.2.2 Implementation and host dependencies

There are a number of implementation and host dependencies associated with the Ada Compiler and runtime System

used. These will affect the portability of application programs and their use of GKS. The application programmer

should follow accepted practices for ensuring portability of Ada programs to avoid introducing Problems when

rehosting the application on another System. Implementation dependencies include runtime storage management and

processor management.
3.2.3 Error handling

The inquiry functions utilize error indicator Parameters for the error returns, and do not raise Ada

exceptions. The application program must ensure that these error indicators are checked before attempting

to access other Parameters, since some Ada implernentations do not raise an exception if an undefined value

is accessed.
The error handling requirements of GKS tan be summarized as follows:
---------------------- Page: 8 ----------------------
ISO 8651-3 : 1988 (E)
1 . By default, a procedure named ERROR HANDLING will be provided
that simply reports the error by calling ERRORLOGGING. This is
called from the GKS function that detects the error.
The ERROR-HANDLING procedure may be replaced by one defined by
2 .
the User.
The procedure ERROR-HANDLING is defined as a library subprogram:
with GKS TYPES;
use GKS -TYPES;
procedur;ERROR HANDLING (ERROR INDICATOR : inERROR NUMBER;
GKS FÜNCTION : inSTRING~
: inSTRING
ERRÖR FILE
:=DEFAULT ERROR FILE);
- -
The procedure ERROR HANDLING is defined as a library subprogram, and is not
-- declared within packagcGKS.

This binding defines two different bodies for this subprogram; each must be supplied by the

implementation. The default body is the one required by GKS semantics. It simply calls

ERROR LOGGING and retums. The second body calls ERROR-LOGGING and then raises the exception

GKS ERKOR. The GKS function must be written so as not to handle GKS ERROR (this is a requirement

of th~implementation). Thus, by Ada rules, the exception will be propagatedback to the application

program that called the GKS function in which the error was detected.

The means by which the user replaces the default body of either the exception-raising version or another one

of bis or her choosing is dependent upon the Ada library manager. Some implernentations support multiple

Versions of a body with a Single specification or otherwise allow hierarchical libraries with the sharing of

common units. In other implernentations it may be necessary to duplicate the GKS library for each version

of ERROR HANDLING.

GKS errors are mapped to the Single exception GKSERROR, declared in the GKS package. The expected

style in dealing with errors using exception handling is to provide a handler for the GKS ERROR

exception.
3.2.4 Data mapping

The simple and compound data types of GKS are bound to a variety of Ada scalar and compound types. Constraints

on permitted values arc reflected where possible in the type definitions. The general correspondence between the

GKS data types and Ada binding data types is summarized below:
GKS integers are mapped to Ada integer types.
GKS reals are mapped to Ada floating-point types.

GKS strings are mapped to the predefined Ada type STRING, or to a type providing for

variable length strings.
GKS Points are mapped to Ada record types.
GKS names are mapped to Ada discrete types.
GKS enumeration types are mapped to Ada enumeration types.
GKS vectors are mapped to Ada record types.
---------------------- Page: 9 ----------------------
ISO 8651-3 : 1988 (E)
GKS matrices are mapped to Ada array types.
GKS lists (of elements of a particular type) are mapped to an Ada private
type declared in an instantiation of the generic GKS~LISTJJTILITIES package.

GKS arrays are mapped to either an unconstrained Ada array type, or to a record type providing

for variable length arrays.
GKS ordered pairs are mapped to Ada record types.

GKS data records are mapped to Ada private types. In some cases a set of subprograms for

operating on the data records are explicitly defined by this binding.
This is because the content and

structure of the data record is implementation-dependent. An implementation of GKS may provide

other subprograms for manipulating implementation-dependent data records.
3.2.5 Multi-tasking

The Ada language definition provides explicit support for concurrency. The Ada tasking model includes facilities for

declaring and allocating tasks, and operations allowing intertask communication and synchronization.

The GKS Standard, and hence this binding, neither requires nor prohibits an implementation from protecting against

problems which could arise from asynchronous access to the GKS data structures from concurrent tasks.

Implernentors of GKS should provide information in the user’s documentation regarding whether protection against

such Problems is implemented.

Annex D contains guidelines for implernentors who want to support multi-tasking application programs. This

annex does not form an integral part of the binding Standard, but provides additional information.

3.2.6 Packaging

The GKS Standard defines nine levels of graphic functionality, with level Oa as the lowest level and level2c as the

An implementation of GKS may implement every level individually or as a Single System. To

highest level.

support this concept this binding defines nine Ada packages which correspond to each of the GKS levels. Esch of

these packages is named
package GKS is . . . end GKS;

to provide portability of application programs for levels of GKS. However, the contents of the packages differ

depending on the level of GKS that they provide. Esch of these packages provides the subprograms defined for its

level and all subprograms defined in “lower” levels as described in 5.1 of this binding. Associated with each of these

packages is a data type package which provides the type declarations for the appropriate level as defined in 4.2 and the

GKS defined exception defined in 4.3.1. These packages are named
package GKS TYPES is . . . end GKS TYPES;
- -

The Ada program library facility should be used to provide the levels Separation. Thus, an Ada graphics application

program which uses GKS would “with” the appropriate GKS packages which provide the subprogram, types, and

exceptions for that level by compiling and linking to the corresponding Ada library which contains that level of GKS.

For example, an application which uses level Oa would “with” the packages as follows:

with GKS;
use GKS TYPES;
procedure-ÄPPLICATION is
begin
null;
end APPLICATION;
---------------------- Page: 10 ----------------------
ISO 8651-3 : 1988 (E)

Then the program is compiled and linked to the Ada program library that corresponds to level Oa.

Several additional Ada units are defined in this binding. These are:
o generic package GKS COORDINATE SYSTEM
- -
o generic package GKS~LISTJI’ILITIES

These generic packages support the declaration types in the GKS TYPES package described above. The

GKS COORDINATE SYSTEM is a generic package that defines an-&sortment of types for supporting each of

the C?& coordinate Systems. GKSLIST-UTILITIES is also a generic package which provides type declarations

and operations for list types which correspond to the GKS list types.
3.2.7 Application program environment

An application program utilizing an Ada implementation of GKS will need to be aware of the environment in which

both GKS and the application program reside.

One such interface is the Ada program library. The Ada language requires that the application program have access

to the program library in which the GKS Software resides. The ISO 8652 Ada Reference Manual does not specify

whether there is a Single library or multiple libraries, or how access to the libraries is granted, managed, etc. The

user’s documentation for the GKS implementation should specify where the GKS library exists in the System, and

how access to the library is acquired.

Input/Output interfaces are also implementation-dependent, and are required to be described in the user’s

documentation. Besides the obvious graphics device interface information, interfaces to the file System shall be

included in the documentation. Specifically, this includes the interface to the GKS error file and also the metafile

storage.
3.2.8 Registration l)

The GKS Standard reserves certain value ranges for registration as graphical items. The registered graphical items

will be bound to Ada (and other programming languages). The registered item bindings will be consistent with the

binding presented in the document.

For the purpose of this part of ISO 8651 and according to the rules for the designation and Operation of registration

authorities in the ISO Directives, the ISO Council has designated the National Bureau of Standards (Institute of Computer Sciences

and Technology) A266 Technology Building, Gaithersburg, MD, 20899, USA to act as registration authority.

---------------------- Page: 11 ----------------------
ISO 8651-3 : 1988 (E) Tables
4 Tables
Procedures
4.1
Table 1 - Abbreviations used in Procedure names
ASF aspect Source flag
Character
CHAR
ESC
escape
generalized drawing primitive
GDP
Graphical Kerne1 System
GKS
GKSM Graphical Kerne1 System metaf?.le
ID identier
inquire
maximum
UGDP unregistered generalized drawing primitive
UESC unreg&ered escape
WS workstation(s)
TabIe 2 - List of procedures using the abbreviations
ASF
INQLIST OF ASF
SET ASF- -
CHAR
INQCHAR BASE VECTOR
INQCHAR-EXPANSION FACTOR
INQCHAR-HEIGHT -
INQCHAR%IDTH
INQCHAR-SPACING
INQCHAR-UP VECTOR
SET CHAR-EX%ANSION FACTOR
SET-CHAR-HEIGHI’ -
SET-CHAR-SPACING
SET-CHAR-UP VECTOR
- - -
ESC
ESC
U-ESC
GDP
GDP
INQGDP
INQLIST OF AVAILABLE GDP
UGDP - -
GKS
CLOSE GKS
EMERGIENCY CLOSE GKS
INQ LEVEL ÖF GKS -
OPEti GKS - -
---------------------- Page: 12 ----------------------
ISO 8651-3 : 1988 (E)
Tables
List of procedures using the abbreviations
Table 2 -
GKSM
GET ITEM TYPE FROM GKSM
REAk ITEM FRÖM GKSM
WRIti ITEti TO GKSM
- - -
INQCURRENT PICK ID VALUE
SET PICK ID - - -
- -
INQCHAR BASE VECTOR
INQCHAR-EXPANSION FACTOR
INQCHAR-HEIGHT -
INQCHAR;WIDTH
INQCHAR SPACING
INQCHAR-UP VECTOR
INQCHOICiZ IiiEiVICE STATE
INQCLIPPmG -
INQCOLOUR FACILITIES
INQCOLOUR-REPRESENTATION
INQCURREti NORMALIZATION TRANSFORMATION N-UMBER
INQCURRENT-INDIVIDUAL AlTiüBU’TE VALUES -
INQCURRENT~PICKJD-VA% -
INQCURRENT PRIMITIVE ATTRIBUTE VALUES
INQDEFAULT-CHOICE DEVICE DATA-
INQDEFAULT-DEFERRAL STA% VALUES
INQDEFAULT-LOCATOR DEVICE-DATA
INQDEFAULT-PICK DEVICE DATÄ
INQDEFAULT-STR6G DEVICE DATA
WQDEFAULT-STROti DEVICE DATA
INQDEFAULT-VALUATÖR DEViiE DATA
INQDISPLAY -iiPACE SIZE- -
INQDYNAMIC MODikATIONOFSEGMENT ATTRIBUTES
INQDYNAMIC-MODIFICATION OF WS ATIRkTES
INQFILL AREÄ COLOUR INDEii - -
INQFILL-AREA-FACILItiS
INQFILL-AREA-iNDEX
INQFILL-AREA-INTERIOR STYLE
INQFILL-AREA-REPRESENTATION
INQFILL-AREASTYLE INDEX
INQGDP- - -
INQINPUT QUEUE OVERFLOW
INQLEVEL OF GK%
INQLIST 0% ÄiiF
INQLINE-?YF%
INQLINEWIDTH SCALE FACTOR
INQLIST OF AVÄILABLi GDP
INQLIST-OF-AVAILABLE-WS TYPE
INQLIST-OF-COLOUR tiIC%
INQLIST-OF-FILL ARiA INDICES
- - -
---------------------- Page: 13 ----------------------
ISO 8651-3 : 1988 (E)
Tables
Table 2 - List of procedures using the abbreviations
INQLIST OF NORMALIZATION TRANSFORMATION N-UMBER
INQLIST-OF-PATTERN INDI&
INQLISTÖF -?OLYLINE-INDICES
INQLIST Of POLYMAiiSER INDICES
INQLIST-OF-iEXT INDICES-
INQLOCÄTOi DEfiCE STATE
INQMAX LENCTH OFWS STATE TABLES
INQMAX-NORMAiiZÄiIOii TRAiiFORMATION NUMBER
NQMORi? SIMULTANEOUS-EVENTS
INQNAME-OF OPEN SEGMiiNT
INQNORMÄLI%ATIOG TRANSFORMATION
INQ_NUMBER OF SEG-i4ENT PRIORrIES SUPPORTED
INQNUMBER-OF-AVAILABLi LOGICAL -hPUT DEVICES
INQOPERATIkG STATTE VALük - -
INQPATIERN FÄCILITIiiS
INQPATIERN-iIEIGHT VECTOR
INQPATIERN-REFE&CE POINT
INQPATIERN-kEPRESENTÄTION
INQPATT’ERN-iVIDTH VECTOR
INQPICK DEtiCE STÄTE
INQPIXEE -
INQPIXEL ARRAY
INQPIXEL-ARRAY DIMENSIONS
INQPOLYfiNE COLOUR INDEX
INQPOLYLN-FACILITüiS
INQPOLYLINE-iNDEX
INQPOLYLINi-REPRESENTATION
INQPOLYMARiER REPRESENTATION
INQPOLYMARKER-COLOUR INDEX
INQPOLYMARKER-INDEX -
INQPOLYMARKER-FACILKIES
INQPOLYMARKER-SIZE SCALE FACTOR
INQPOLYMARKER-TYPf -
INQPREDEFINED COLOUR REPRESENTATION
INQPREDEFINED-FILL ARiA REPRESENTATION
INQPREDEFINEDPATfERN REPRESENTATION
INQPREDEFINED-POLYLINf REPRESENTATION
INQPREDEFINED-POLYMAR-iER REPRESENTATION
INQPREDEFINED-TEXT REPRES%TATION
INQSEGMENT A’i?RIBü?ES
INQSET OF AtTIVE WS
INQSET-OF-ASSOCIÄTED WS
INQSET-OF-OPEN WS -
INQSET-OF-SEGtiNT NAMES IN USE
INQSET-OF-SEGMENT-NAMES-0s WS
INQSTRikG-DEVICE STATE - -
- -
---------------------- Page: 14 ----------------------
ISO 8651-3 : 1988 (E)
Tables
Table 2 - List of procedures using the abbreviations
INQSTROKE DEVICE STATE
INQTEXT tiGNMEi?
INQTEXT-COLOUR INDEX
INQTEXT-EX’IENT-
INQmX’i-FACILITIES
INQTEXT-FONT AND PRECISION
INQ’IEXT-&DEf -
3NQEXfPATH
INQTEXT-REPRESENTATION
INQVALÜÄTOR DEVICE STATE
INQWS CATEGÖRY -
INQWS-CLASSIFICATION
INQWS-CONNEC’IION AND TYPE
INQWS-DEFERRAL AND UPDATE STATES
WQWS-MAX NUMiiER - -
INQWS-STA%
INQWS-TRANSFORMATION
INQMAX LENGTH OF WS STATE TABLES
INQMAX-NORMAiiZÄ?IO~ TRAiiFORMATION NUMBER
INQWS iiAX NUMBERS -
- -
ACTIVATE WS
ASSOCIAti SEGMENT WITH WS
- -
CLEAR WS-
CLOSE-WS
copy SEGMENT ~0 ws
DEAC-WATE W< -
DELETE SEGMENT FROM WS
INQDYhK MOiiIFICAfiON OF WS A’ITRIEiUTES
INQLIST OF ÄVAILABLE WS -m’- -
INQtiLE%GTH OF Wi SiiTE TABLES
XNQSET ÖF ACTIti iiS -
INQSET-OF-ASSOCIÄTED WS
INQSET-OF-OPEN WS -
INQSET-OF-SEGhhT NAMES ON WS
INQWS-?A’i%GORY - - -
INQWS CLASSIFICATION
INQWS-CONNECTION AND TYPE
INQWS-DEFERR~ AND UPDATE STATES
INQWS-MAX NUMiiER - -
INQWS-STA%
INQWS-TRANSFORMATION
OPEN %iS
REDRÄW ALL SEGMENTS ON WS
SET WS ikE%i%RT - -
SET-WS-iVINDoW
UPiiAg WS
---------------------- Page: 15 ----------------------
ISO 8651-3 : 1988 (E) Tables

TABLE 3 - GKS Function Names and Ada Names Ordered Alphabetically by Ada Bound Name

ACCUMULATE TRANSFORMATION MATRIX
ACCUMULATE TRANSFORMATION MATRIX
ACTIVATE WORKSTATION
ACTIVATE WS-
ASSOCIATE SEGMENT WITH WORKSTATION
ASSOCIAti SEGMENT WITH WS
AWAIT EVI%T - - AWAITEVENT
CELL ARRAY
CELL ARRAY
CLEAk WS CLEAR WORKSTATION
CLOSE GKS
CLOSE-GKS
CLOSE SEGMENT
CLOSE-SEGMENT
CLOSE WORKSTATION
CLOSE-WS
COPY SEGMENT TO WORKSTATION
COPY SEGMENT TO WS
CREA?‘E SEGMENT - CREATE SEGMENT
DEACTTVATE WS DEACTIVATE WORKSTATION
DELETE SEGMENT DELETF SEGMENT
DELETE-SEGMENT FROM WS DELETE SEGMENT FROM WORKSTATION
- - -
EMFRGENCY CLOSE GKS EMERGENCY CLOSE GKS
ERROR HANDLING
ERROR HANDLING -
ERROR LOGGING
ERRORLOGGING
ESCAPE
ESCAPii
EVALUATE TRANSFORMATION MATRIX
EVALUATE TRANSFORMATION MATRIX
- -
FILL AREA FILL AREA
FLUSH DEVICE EVENTS
FLUfH DEVICE EVENTS
- -
GENERALIZED DRAWING PRIMITIVE
GDP
GET CHOICE GET CHOICE
GET-ITEM TYPE FROM GKSM GET ITEM TYPE FROM GKSM
GET-LOCATOR - - GET LOCATOR
GET-PICK GET PICK
GET-STRING GET STRING
GET-STROKE GET STROKE
GET-VALUATOR GET VALUATOR
INITIALISE CH0103 INTIALISE CHOICE
INITIALISE-LOCATOR INITIALISE LOCATOR
XNITIALISE PICK
INITIALISE-PICK
INITIALISE STRING
INITIALISE-STRING
INITIALISE-STROKE INITIALISE STROKE
INITIALISE-VALUATOR INITIALISE VALUATOR
INQCHOItfiE DEVICE STATE INQUIRE CHOICE DEVICE STATE
INQCLIPPING - INQUIRE CLIPPING
INQCOLOUR FACILITIES INQUIRE COLOUR FACILITIES
INQCOLOUR-REPRESENTATION INQUIRE COLOUR REPRESENTATION
---------------------- Page: 16 ----------------------
Tables ISO 8651-3 : 1988 (E)
GKS Function Names and Ada Names Ordered Alphabetically by Ada Bound Name
TABLE 3 -
INQCURRENT INDIVIDUAL ATTRIBUTE VALUES INQUIRE CURRENT INDIVIDUAL
- - -
ATTRIBUTE VALUES
The following functions arc a one-to-many mapping sf the GKS function
“inquire current individual attribute vahes”.
INQCHAR EXPANSION FACTOR
INQCHAR-SPACING -
INQFILL kEA COLOUR INDEX
INQFILL-AREA-INTERIOE STYLE
INQFILL-AREA-STYLE tiEX
INQLINE?YPE - -
INQLINEWIDTH SCALE FACTOR
INQLIST OF AS? -
INQPOL%ti COLOUR INDEX
INQPOLYMARkER COLÖUR INDEX
INQPOLYMARKER-SIZE SCÄLE FACTOR
INQPOLYMARKER-TYPC -
INQTEXT COLOUR%DEX
INQTEXT-FONT A%D PRECISION
- - -
INQUIRE CURRENT NORMALIZATION
INQCURRENT NORMALIZATION
TRANSFORMATION N-UMBER
TRANSFORMÄTION N-UMBER -
INQCURRENT PICKID VALUE XNQUIRECURRENT PICK IDENTIFIER VALUE
INQUIRE CURRENTPRIMITIVE
INQCURRENT-PRIWikl?E
ATTRIBUTE VALUES
ATTRIBUTE +ÄLUES -
The following functions are a one-to-many mapping of the GKS function
“inquire current primitive attribute values”.
INQCHAR BASE VECTOR
INQCHAR-kEIG@I’
INQCHAR-WIDTH
INQCHARkP VECTOR
INQFILL Ä&Ä INDEX
INQPAtiRN I?EIGHT VECTOR
INQPA’TTERN-REFEREkE POINT
INQPA’ITERN-kIDTH VEtiOR
INQPOLYLti INDEX-
INQPOLYMA&R INDEX
INQTEXT ALIGNMhT
INQTEXT-INDEX
INQTEXT-PATH
INQDEFAULT CHOICE DEVICE DATA INQUIRE DEFAULT CHOICE DEVICE DATA
INQDEFAULT-DEFERiÄL STA?% VALUES INQUIRE DEFAULT DEFERRAL
- -
STATE VALUES
INQDEFAULT LOCATOR DEVICE DATA INQUIRE DEFAULT LOCATOR DEVICE DATA
INQUIRE DEFAULT PICK DEVICE DATA
INQDEFAULT-PICK DEV-CE DATÄ
- - -
---------------------- Page: 17 ----------------------
ISO 8651-3 : 1988 (E) Tables

TABLE 3 - GKS Function Names and Ada Names Ordered Alphabetically by Ada Bound Name

INQDEFAULT STRING DEVICE DATA INQUIRE DEFAULT STRING DEVICE DATA
INQUIRE DEFAULT STROKE DEVICE DATA
INQDEFAULT-STROti DEVICE DATA
INQDEFAULT-VALUATÖR DEViiZE DATA INQUIRE DEFAULT VALUATOR DEVICE DATA
INQDISPLAY -iPACE SIZE- INQUIRE DISPLAY SPACE SIZE
INQDYNAMIC MODikATION OF INQUIRE DYNAMIC MODIFICATION OF
SEGMENTATTRIBUTES
SEGMENTAtiBUTES - -
INQDYNAÄiIC MODIFICATION OF INQUIRE DYNAMIC MODIFICATION OF
- -
WORKSTATION ATTRIBUTES
WS ATTRIBUTES
INQ-iXL AREA FACILITIES INQUIRE FILL AREA FACILITIES
INQFILL-AREA-REPRESENTATION INQUIRE FILL AEtEA REPRESENTATION
INQURE GENERALIZED DRAWING PRIMITIVE
INQGDP- -
INQINPUT QUEUE OVERFLOW INQUIRE INPUT QUEUE OVERFLOW
INQLEVEL OF GKi INQUIRE LEVEL OF GKS
INQUIRE LIST OF AVAILABLE GENERALIZED
INQLIST O? AiAILABLE GDP
- -
DtiAWING PRIMITIVES
INQLIST OF AVAILABLE WS TYPES INQUIRE LIST OF AVAILABLE
- - -
WORKSTATION TYPES
INQLIST OF COLOUR INDICES INQUIRE LIST OF COLOUR INDICES
INQLIST-OF-FILL ARiiA IN-DICES INQUIRE LIST OF FILL AREA IN-DICES
INQUIRE LIST OF NORMALIZATION
INQLIST-OF-NORiiALIZÄTION
TRANSFöRtiTION NUMBER? TRANSFORMATION NUMBERS
INQLIST OF PATIEiiN INDICES INQUIRE LIST OF PATTERN INDICES
INQLIST-OF-kOLYLINi- INDICES INQUIRE LIST OF POLYLINE INDICES
INQLIST-OF-POLYMAR-i-ER INDICES INQUIRE LIST OF POLYMARKER INDICES
INQLIST-OF-TEm INDICES- INQUIRE LIST OF TEXT INDICES
INQUIRE LOCATOR DEVICE STATE
INQLOCÄTOk DEECE STATE
INQMAX LENik’H OFWS STATE TABLES INQUIRE MAXIMUM LENGTH OF
- - - - -
WORKSTATION STA’IE TABLES
INQMAX NORMALEATION INQUIRE MAXIMUM NORMALIZATION
‘IRANSFÖRMATION NUMBER TRANSFORMATION NUMBER
INQMORE SIMULTÄkEOUS EVENTS INQUIRE MORE SIMULTANEOUS EVENTS
INQUIRE NAME OF OPEN SEGMENT
INQNm-OF OPEN SEGtiNT
INQUIRE NORMALIZATION
INQNORMktiATIOi TRANSFORMATION
TRANSFORMATION
INQUIRE NUMBER OF AVAILABLE LOGICAL
INQNUMBER OF AVAILABLE LOGICAL
- -
INPUT DEVICES- INPUT DEVICES
INQNühBER OF SEGMENT NQUIRE NUMBER OF SEGMENT
PRIORITIES %JF+ORTED - PRIORITIES SUPPORTED
INQOPERAtiG STATE VALUE INQUIRE OPERATING STATE VALUE
INQPATTERN FÄCILItiS NQUIRE PATTERN FACILITIES
INQPATIERN-REPRESENTATION INQUIRE PATTERN REPRESENTATION
INQPICK DE%E STATE INQUIRE PICK DEVICE STATE
INQPIXEL - INQUIRE PIXEL
INQPIXEL ARRAY INQUIRE PIXEL ARRAY
INQPIXEL-ARRAY DIMENSION INQUIRE PIXEL ARRAY DIMENSIONS
INQPOLYtiNE FA&ITIES INQUIRE POLYLINE FACILITIES
INQPOLYLINE-REPRESENTATION INQUIRE POLYLINE REPRESENTATION
IN&POLYMARkER FACILITIES INQUIRE POLYMARKER FACILITIES
---------------------- Page: 18 ----------------------
ISO 8651-3 : 1988 (E)
Tables

TABLE 3 - GKS Function Names and Ada Names Ordered Alphabetically by Ada Bound Name

MARKER REPRESENTATION INQUIRE POLYMARKER REPRESENTATION
INQPOLY
INQPREDEFINED COLOUR REPRESENTATION INQU-IRE PREDEFINED COLOUR
- -
REPRESENTATION
INQPREDEFINED FILL AREA REPRESENTATION INQUIRE PREDEFINED FILL AREA
- -
REPRESENTATION
INQUIRE PREDEFINED PATTERN
INQPREDEFINED PATTERN REPRESENTATION
- -
REPRESENTATION
INQPREDEFINED POLYLINE REPRESENTATION INQUIRE PREDEFINED POLYLINE
- -
REPRESENTATION
INQPREDEFINED POLYMARKER INQUIRE PREDEFINED POLYMARKER
REPRESENTATICk REPRESENTATION
INQUIRE PREDEFINED TEXT
INQPREDEFINED TEXT REPRESENTATION
- -
REPRESENTATION
INQSEGMENT ATTRIBUTES INQUIRE SEGMENT AT
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.