|
|
Log ViewerThe log viewer is a program that is designed to view and print data that has been acquired from an oil well. The best way to describe this program is as a "virtual strip chart recorder." Some of the technical challenges involved with this project are:
There are two primary objects that make up the log viewer: the track and the scale. The scale view is the upper half of the presentation and the track view is the lower half of the presentation. Each of these objects contain the same draw routine to render the image on the display, the printer, a print preview and into an image file. A custom mapping mode is used to do all output in 1000ths of an inch, similar to MM_HIENGLISH but with increasing positive values going down instead of up (like an oil well). The links on the left represent a screen shot of a typical presentation and its corresponding print preview using an HP laser jet 4 print driver. |