PressReaderExtras.mesa
Copyright (C) 1984, Xerox Corporation. All rights reserved.
Michael Plass, July 16, 1984 3:09:12 pm PDT
PressReaderExtras: CEDAR DEFINITIONS ~ BEGIN
SetSamplingProperties: SIGNAL [samplingProperties: LIST OF SamplingProperty];
This should be a callback, like other things in PressReader, but that requires a modification to the PressReader interface. This may be raised during a call to GetDots; the right thing to do is save the list away and RESUME.
SamplingProperty: TYPE ~ REF;
One of the following:
SSPInputIntensity: TYPE ~ REF SSPInputIntensityRep;
SSPInputIntensityRep: TYPE ~ MACHINE DEPENDENT RECORD [
min: INTEGER,
max: INTEGER
];
SSPOutputIntensity: TYPE ~ REF SSPOutputIntensityRep;
SSPOutputIntensityRep: TYPE ~ MACHINE DEPENDENT RECORD [
minBrightness, minHue, minSaturation, maxBrightness, maxHue, maxSaturation: [0..255]
];
-- not used in any known press files
SSPScreen: TYPE ~ REF SSPScreenRep;
SSPScreenRep: TYPE ~ MACHINE DEPENDENT RECORD [
angle, amplitude, frequency: INTEGER
];
SSPDot: TYPE ~ REF SSPDotRep;
SSPDotRep: TYPE ~ MACHINE DEPENDENT RECORD [
nCells: CARDINAL,
nLines: CARDINAL,
nShifts: CARDINAL,
thresholds: SEQUENCE COMPUTED CARDINAL OF CARDINAL
];
END.