ISO 8651-1:1988标准的第一部分规定了GKS的FORTRAN语言绑定。它定义了一组FORTRAN子例程,用于执行各种图形操作。这些子例程可以通过调用GKS库来实现,该库通常由计算机供应商提供。GKS库提供了与底层图形设备的接口,以便将图形输出到屏幕、打印机或其他输出设备上。
GKS的FORTRAN语言绑定包括以下子例程:
1. GKS初始化子例程:用于初始化GKS系统,并指定所需的图形设备和窗口。
2. GKS绘图子例程:用于绘制各种类型的图形元素,如线条、点、多边形和文本。
3. GKS变换子例程:用于执行各种类型的变换,如平移、旋转和缩放。
4. GKS裁剪子例程:用于裁剪图形元素,以便它们适合指定的窗口。
5. GKS颜色子例程:用于设置和管理颜色。
6. GKS填充子例程:用于设置和管理填充模式。
7. GKS输入子例程:用于从用户获取图形输入,如鼠标单击和键盘输入。
8. GKS输出子例程:用于将图形输出到指定的设备上,如屏幕或打印机。
GKS的FORTRAN语言绑定还包括一些辅助子例程,用于管理GKS系统和错误处理。这些子例程可以帮助开发人员编写可靠的图形应用程序,并处理各种错误情况。
GKS的FORTRAN语言绑定是一种非常强大和灵活的图形编程接口。它可以在各种计算机和操作系统上运行,并支持多种图形设备和颜色模型。GKS还提供了一些高级功能,如图形变换和裁剪,以及图形输入和输出。这使得开发人员可以轻松地创建各种类型的图形应用程序,从简单的绘图工具到复杂的科学可视化应用程序。
相关标准
- ISO 10303-46:1994 Industrial automation systems and integration - Product data representation and exchange - Part 46: Integrated generic resource: Geometric and topological representation
- ISO 10303-42:1994 Industrial automation systems and integration - Product data representation and exchange - Part 42: Integrated generic resource: Geometric and topological representation
- ISO 10303-41:1994 Industrial automation systems and integration - Product data representation and exchange - Part 41: Integrated generic resource: Fundamentals of product description and support
- ISO 10303-11:1994 Industrial automation systems and integration - Product data representation and exchange - Part 11: Description methods: The EXPRESS language reference manual
- ISO 10303-21:1994 Industrial automation systems and integration - Product data representation and exchange - Part 21: Implementation methods: Clear text encoding of the exchange structure