Language bindings for graphics functions to enable one application program to be used in different processing environments
First Claim
1. A linkage system for providing a set of bindings which enable a graphics application program written in a predetermined program language to be executed in one or the other of two different graphical processor environments independent of the programming language, comprisinga graphics output device;
- a graphics application process means for providing a series of user language-specific process statements defining a graph;
a graphics process means responsive to graphics commands and graphics attributes for producing device signals corresponding to said graph;
a graphics output device driver connected to said graphics process means and to said graphics output device and responsive to said device signals for producing said graph on said graphics output device;
a graphics language binding means in communication with said graphics application process means in one or the other of said two different graphical processor environments for translating said process statements into said graphics commands and graphics attributes;
a transfer structure means in said graphics language binding means for building a data transfer structure; and
a transfer process means in said graphics language binding means for transferring said graphics commands and graphics attributes from said language binding means to said graphics process means in one or the other of said two different graphical processor environments, said graphics attributes being transferred in said data transfer structure.
0 Assignments
0 Petitions
Accused Products
Abstract
Establishing a language specific linkage between high-level graphics application programs written in a specific programming language and different intermediate-level graphics processors permit a graphics application program to be transported between and used in different graphics processing systems. A single, portable graphics application program can be used with any of the graphics processors with which an application language linkage has been established to produce graphs on an output device.
104 Citations
14 Claims
-
1. A linkage system for providing a set of bindings which enable a graphics application program written in a predetermined program language to be executed in one or the other of two different graphical processor environments independent of the programming language, comprising
a graphics output device; -
a graphics application process means for providing a series of user language-specific process statements defining a graph; a graphics process means responsive to graphics commands and graphics attributes for producing device signals corresponding to said graph; a graphics output device driver connected to said graphics process means and to said graphics output device and responsive to said device signals for producing said graph on said graphics output device; a graphics language binding means in communication with said graphics application process means in one or the other of said two different graphical processor environments for translating said process statements into said graphics commands and graphics attributes; a transfer structure means in said graphics language binding means for building a data transfer structure; and a transfer process means in said graphics language binding means for transferring said graphics commands and graphics attributes from said language binding means to said graphics process means in one or the other of said two different graphical processor environments, said graphics attributes being transferred in said data transfer structure. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer programming device for providing portability of a graphics application program written in one programming language between two different graphical processors each having a different graphics interface connected to a peripheral device driver for a peripheral graphics unit such as a printer, plotter, display, including
first transfer means in communication with a first graphics interface for providing a command and data path to a first graphical processor wherein graphical primitives are partitioned according to basic types and attributes are specified with regard to such basic types; -
second transfer means in communication with a second graphics interface for providing a transformation of signals to a second graphical processor wherein a current set of attributes are defined for the type of graphical primitive currently being drawn and such attributes are maintained until changed; and language binding means for receiving function calls and parameter specifications generated by the graphics application program and converting them either into a suitable format for transfer in a data transfer structure via said first transfer means to said first graphics interface or alternatively into a different format and sequence using attribute setting subroutines and primitive command subroutines for transfer via said second transfer means to said second graphics interface, and wherein said first and second graphical processors are independent of any programming language. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
Specification