Software Modules within TGS
The following modules are currently available:
2D API
TGS provides a standard Application Program Interface
(API). This is a collection of functions providing:
- session control
- system control
- drawing commands
- information functions
- dialog with the user
The TGS API is universal. It allows application programs to be written
in device independent manner. TGS internally manages the interface to
the GDI in use and the required import and export files and devices.
Language: C++, but has a C compatible
function call interface.
2D Core
The 2D Core module provides all the functional elements central to TGS,
and therefore must be present in all TGS configurations:
- TGS SESSION OBJECT. Provides all of the functions
required to start, operate, and close a TGS operating session.
Generally one session object is used per application.
- TGS SYSTEM OBJECT. Provides all of the functions
required to start, operate, and close a single TGS image or
window. These include: management of primitive and group tables,
scaling, file operations etc. There may be multiple system objects
per session.
- RESOURCES. Provides the drawing tools required by
the 2D primitives. These include pens for line drawing, brushes for
area filling, and fonts for text.
- 2D PRIMITIVES. These are the basic graphical units
such as ellipses and rectangles.
- GROUPS. Groups provide the mechanism of combining
primitives into a larger entity. A group allows moving and editing
of a set of primitives as if they were a single entity.
- SYMBOLS. Symbols are a special kind of group
designed for animation. They associate code that performs automatic
editing with the group and primitives to be operated on.
Language: C++.
TGS Master DLLs
Provides Dynamic Link Library support for TGS under Windows.
Language: C++.
2D Windows GDI Interface
This module provides the interface between TGS and the
Windows Graphical Device Interface (GDI).
It supports all versions of Windows.
Selection between the different versions is accomplished
by conditional compilation, controlled by the SYSDEF header.
This module is responsible for providing all Windows functionality
associated with the scope of the 'limited editing' implementation of
TGS.
Specifically it provides:
- the ability to draw or redraw graphics in a window as required
- a ruler and grid system for the displayed page
- menu, mouse and keyboard processing to zoom and scroll around the
page
- Windows printing support
- control dialog boxes for setting parameters in the module, such as
Windows print mode parameters
- common dialog boxes for use by the application program, eg. for
obtaining page size and orientation information, scale mode and
offsets
Language: C++.
TGS Windows Application Template
A generic template developed as a starting point for all TGS single
document applications under Windows.
Language: C.
TGS Windows MDI Template
A generic template developed as a starting point for all TGS multiple
document applications under Windows.
Language: C++.
|