Device
does not include the physical size, since that size is
meaningless on the screen. A Printer could be a Device
subclass
which could include the paper size.
redefine boolean equal Device d;
d
tell whether it is equal to this Device
.
boolean equalDeviceDescription DeviceDescription d;
d
tell whether it is equal to this Device
.
boolean equalDevice Device d;
Device
with d
.
deferred int bitsPerSample;
deferred int colorSpace;
deferred (float, float, float, float) frame;
boolean isScreen;
YES
if the device is on a screen or intended to be
displayed on one. Default implementation returns NO
.
boolean isPrinter;
YES
if the device is a printer. Default implementation
returns NO
.
deferred (float, float) resolution;