MacTrove  — Classic Macintosh Archive
 
 Home Software Hardware Docs Magazines Forums Search
Search:   Software, forums, magazines & more

Display Graphics 102 C 1.0.2

File display-graphics-102-c.hqx
Size 50.0 KB
Version 1.0.2
Category Development
↓ Download display-graphics-102-c.hqx

Enjoying MacTrove? Anonymous downloads are free and unlimited. Create a free account to track favorites, contribute corrections, and join the community chat.

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

MacTrove — Classic Macintosh Archive — Full site | Software | Search
Classic version — compatible with older browsers.