Display Graphics 102 C
Display Graphics 102 C
Development · info-mac
| Filename | display-graphics-102-c.hqx |
|---|---|
| Size | 50.0 KB (51228 bytes) |
| Downloads | 2 |
About
DisplayGraphicsKludge gives vanilla (ordinary) C programs access to the Mac's graphics, without needing to know how to program the Mac's Graphic User Interface (GUI). DisplayGraphicsKludge is a C procedure that graphically displays any contiguous area of your C program's memory (RAM image) as a 2 dimensional uniformly distributed 256 level gray scale image. The image data in memory is interpreted as one byte per pixel, where 0 = black and 255 = white. The image is displayed in a dialog box. The gray scale image can be printed or saved to the disk as a TeachText/SimpleText PICT file. DisplayGraphicsKludge requires that your computer's leftmost monitor be set to 256 or millions of colors/greys (black&white, 4, 16, & thousands will not work OK).
DisplayGraphicsKludge is free, courtesy of the Center for Bioengineering at the University of Washington.
Version 1.0.2 corrects some variables defined as ints (they should be short or long to insure that all compilers make them the right size).
Sam
File Info
This file is from the info-mac archive. It is BinHex encoded — use The Unarchiver to decode it.