The Graphics DLL: TkGraph.DLL

The Graphics DLL was developed in response to the needs for interactive graphing. In multimedia teaching packages such as SToMP (Software Teaching of Modular Physics), effective design often demands graphing functionality and flexibility beyond what standard programming environments can cope with.

TkGraph.DLL evolved naturally from 'Scientific Programmer's Toolkit' by M. H. Beilby, R. D. Harding and M. R. Manning (1991). The original toolkit was a DOS based graphics library used by the undergraduates studying mathematics at the University of Cambridge. TkGraph.DLL is based on dynamic-linking technology and can be accessed simultaneously by programs written in different development platforms. In SToMP, the graphics DLL is used by ToolBook, Visual Basic and Borland Pascal and C++ programs.

TkGraph.DLL provides two levels of functions. At the lower level, basic user-defined coordinate system in two and three dimensions, a rich set of colour and text controls, and image double-buffering are offered. At the higher level, the programmer can plot curves, surfaces, etc. by sending string expressions as in mathematical packages such as Maple and Gnuplot.

You can now download TkGraph.DLL (16bit version) and a demo program (TkGraph.ZIP, 103K). If you are interested, you may contact me (e-mail address at the bottom of this page) for a 100-page documentation.

Note that the original DLL is in 16 bit. A 32-bit conversion was done in July 2000. So far we have only tested it using Delphi. This 32-bit version, together with a Delphi interface file and a demo program, can be download here (TkGrpW32.ZIP, 283K).


Examples

Snap-shot 1
Snap-shot 2
Snap-shot 3

Application

In SToMP, we have developed a graph viewer using the graphics DLL. For a description of the program, click here.