CBitmapReader.mesa
Copyright Ó 1991 by Xerox Corporation. All rights reserved.
Created by Christian Jacobi, May 2, 1991 2:46:56 pm PDT
Christian Jacobi, May 3, 1991 5:51 pm PDT
DIRECTORY ImagerSample, IO, Rope;
CBitmapReader: CEDAR DEFINITIONS ~ BEGIN
Reads bitmap file in the format used by X11.
This package in no way imports X window software; its only dependency on X windows is the file format.
Assumes bitmap files written by a program; very sensitive to any format deviation.
Error: ERROR [explanation: REF];
FromStream: PROC [stream: IO.STREAM] RETURNS [sm: ImagerSample.RasterSampleMap, hotSpot: ImagerSample.Vec];
May raise Error
END.