ghost@aladdin.com (L. Peter Deutsch) (07/19/89)
This is a follow-up to my previous message about writing drivers for Ghostscript. A driver for a monochrome device need only implement two routines: - Fill a rectangle with either black or white. - Copy a rectangular area from a bitmap to the device. All the other routines are optional, i.e., Ghostscript will supply default (perhaps not very fast) algorithms if you don't. For color devices, the driver must implement three routines: - Fill a rectangle with a color. - Write a color where a rectangular area of a bitmap has 1's (or 0's). - Copy a rectangular area from a color bitmap to the device. So the real work isn't in writing the driver, it's in figuring out how to hook it up. Stay tuned.... - P. D. ghost@aladdin.com ...{uunet,parcplace.com}!aladdin!ghost P. O. box 60264, Palo Alto, CA 94306