ISO 8651-2-1988 Information processing systems computer graphics graphical kernel system (GKS) language bindings part 2 Pascal《信息处理系统 计算机图形 图形核心系统(GKS)语言联编 第2部分.pdf
《ISO 8651-2-1988 Information processing systems computer graphics graphical kernel system (GKS) language bindings part 2 Pascal《信息处理系统 计算机图形 图形核心系统(GKS)语言联编 第2部分.pdf》由会员分享,可在线阅读,更多相关《ISO 8651-2-1988 Information processing systems computer graphics graphical kernel system (GKS) language bindings part 2 Pascal《信息处理系统 计算机图形 图形核心系统(GKS)语言联编 第2部分.pdf(174页珍藏版)》请在麦多课文档分享上搜索。
1、INTERNATIONAL STANDARD INTERNATIONAL ORGANIZATION FOR STANDARDIZATION ORGANISATION INTERNATIONALE DE NORMALISATION MEwYHAPOjJHAR OPrAHkl3AklR tl0 CTAHAPTM3AMM Information processing systems - Computer graphics - Graphical Kernel System (GKS) language bindings - Part 2 : Pascal Systkmes de traitement
2、 de linformation - lnfographie - Syst&me graphique de base (GKS) - fnterface langage Partie 2 : Pascal IS0 8651-2 First edition 1988-02-01 Reference number Foreword IS0 (the international Organization for Standardization) is a worldwide federation of national standards bodies (IS.0 member bodies). T
3、he work of preparing International Standards is normally carried out through IS0 technical committees. Each 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, govern- mental and non-
4、governmental, in liaison with ISO, also take part in the work. Draft International Standards adopted by the technical committees are circulated to the member bodies for approval before their acceptance as International Standards by the IS0 Council. They are approved in accordance with IS0 procedures
5、 requiring at least 75 % approval by the member bodies voting. International Standard IS0 9551-2 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
6、any other International Standard implies its latest edition, unless otherwise stated. ,a International Organization for Standardization, 1988 l Printed in Switzerland ii IS0 8651-2 : 1988 (E) Contents 0 Introduction .l 1 Scope and field of application .2 2 References 3 3 The Pascal language binding
7、of GKS 4 3.1 Specification 4 3.2 Mapping of GKS function names to Pascal procedure names.4 3.3 The many-one nature of the Pascal interface . .4 3.4 The one-one nature of the Pascal interface .4 3.5 The one-many nature of the Pascal interface . .J 3.6 Implementation of the interfaces . 5 3.7 Represen
8、tation of GKS data types . .25 3.8 Naming conventions for data types .25 3.9 Implementation-dependent characteristics .25 3.10 Data Records Subject to Registration . .26 3.11 Return Parameter Arrays .27 3.12 Level of Pascal 27 3.13 Registration . 29 4 Error handling . 30 4.1 The error handling funct
9、ion . .30 4.2 Pascal specific GKS errors 30 5 Pascal GKS data structures .31 5.1 Implementation-defined constants . .31 5.2 Implementation-defined types .31 5.2.1 General types .31 5.2.2 Record types 32 5.3 Required constants . 33 5.4 General types . 33 5.5 Names used by GKS .34 5.6 GKS enumerated t
10、ypes 34 5.7 Array types . .35 5.8 Set types . .36 . . . 111 IS0 8651-2 : 1988 (E) 6 GKSfunctions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 6.10 6.11 Notational conventions . .44 Control functions . 4 4 Output functio
11、ns . 48 Output attributes . s 4 6.4.1 Workstation Independent primitive attributes . .54 6.4.2 Workstation attributes (Representations) .58 Transformation functions . 60 6.5.1 Normalization transformation .60 6.5.2 Workstation transformation . .61 Segment functions 62 6.6.1 Segment manipulation func
12、tions . .62 6.6.2 Segment attributes . 63 Input functions 64 6.7.1 Initialisation of input devices . .64 6.7.2 Setting the mode of input devices . .68 6.7.3 Request input functions . .71 6.7.4 Sample input functions 73 6.7.5 Event input functions . 75 Metafile functions 78 Inquiry functions . 80 6.9
13、.1 Convention 80 6.9.2 Inquiry function for operating state value .80 6.9.3 Inquiry functions for GKS description table . .80 6.9.4 Inquiry functions for GKS state list . .82 6.9.5 Inquiry functions for workstation state list . .94 6.9.6 Inquiry functions for workstation description table . .lll 6.9
14、.7 Inquiry functions for segment state list .124 6.9.8 Pixel inquiries .125 6.9.9 Inquiry function for GKS error state list .126 Utility functions .126 Error handling .127 Annexes A Data types in compilation order . .128 A.1 Implementation defined constants .128 A.2 Required constants .128 A.3 Imple
15、mentation defined tag types .128 A.4 Error logging and connection files .129 A.5 General types 129 A.6 Types applicable to workstation control procedures . .129 A.7 Types applicable to transformation procedures .130 A.8 Types applicable to attribute setting procedures . .130 A.9 Types applicable to
16、segment procedures . .130 A.10 Types applicable to input procedures .130 A.11 Types applicable to GKS description . .130 A.12 Types applicable to GKS state .131 A.13 Types applicable to workstation state .131 A.14 Types applicable to workstation description .131 A.15 Types applicable to segment stat
17、e .131 A.16 GKS data records .131 A.17 Types applicable to the one-one procedures. . 132 A.18 Types applicable to the many-one procedures 132 iv IS0 8651-2 : 1988 (E) B Metafile Item Types 133 C Example Programs . .135 C.l Program STAR . .135 C.2 Program IRON . .138 C.3 Program MAP .146 (2.4 Program
18、 MANIPULATE . 149 C.5 Program SHOWLN . .158 D Function lists .164 D.l GKS functions .164 D.2 Pascal functions .166 V INTERNATIONAL STANDARD IS0 8651-2 : 1988 (E) Information processing systems - Computer graphics - Graphical Kernel System (GKS) language bindings - Part 2 : Pascal 0 Introduction The
19、Graphical Kernel System (GKS), the functional description of which is given in IS0 7942, is speci- fied 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 IS0 8651 is to
20、 define a standard binding for the Pascal computer programming language. 1 IS0 8651-2 : 1988 (E) 1 Scope and field of application IS0 7942 specifies a language-independent nucleus of a graphics system. For integration into a program- ming language, GKS is embedded in a language-dependent layer obeyi
21、ng the particular conventions of that language. This part of IS0 8651 specifies such a language-dependent layer for the Pascal language. IS0 8651-2 : 1988 (E) 2 References IS0 7942, Information processing systems - Computer graphics - Graphical Kernel System (GKS) functional description. IS0 7185, P
22、rogramming languages - Pascal. IS0 2382-13, Data processing - Vocabulary - Part 13: Computer Graphics. IS0 8651-2 : 1988 (E) 3 The Pascal language binding of GKS 3.1 Specification The GKS language binding interface for IS0 Pascal (IS0 7185) shall be as described in clauses 3, 4, 5, and 6. 3.2 Mappin
23、g of GKS function names to Pascal procedure names The function names of GKS are all mapped to Pascal procedures which begin with the letter “G”. Words and phrases used in the GKS function names are often abbreviated in the Pascal representation. There is a set of such abbreviations given in table 1
24、and the resulting Pascal procedure names are listed in tables 2, 3, and 4. For example, the abbreviation for the GKS function DELETE SEGMENT FROM WORKS- TATION is GDelSegWs. “Del”, “Seg”, “Ws” are the abbreviations for DELETE, SEGMENT and WORKSTATION. Conjunctives such as “from”, “and”, “of and “to”
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ISO865121988INFORMATIONPROCESSINGSYSTEMSCOMPUTERGRAPHICSGRAPHICALKERNELSYSTEMGKSLANGUAGEBINDINGSPART2PASCAL

链接地址:http://www.mydoc123.com/p-1256049.html