static tom.MutableEqSet devices;
instance (id)
on int device_type
resolution (float, float) (xres, yres)
frame (float, float, float, float) (fx, fy, width, height)
colorSpace int color_space
bitsPerSample int bps;
DeviceDescription with the indicated characteristics,
creating it if it does not yet exist.
public int device_type;
int bits_per_sample;
int color_space;
float res_x;
float res_y;
float f_x;
float f_y;
float f_w;
float f_h;
redefine boolean equal Device d;
Device tell whether it is equal to this
DeviceDescription.
redefine boolean equalDeviceDescription DeviceDescription d;
YES iff d is identical to self.
id
initOn int dt
resolution (float, float) (x, y)
frame (float, float, float, float) (fx, fy, fw, fh)
colorSpace int cs
bitsPerSample int bps;
int bitsPerSample;
int colorSpace;
(float, float, float, float) frame;
redefine boolean isScreen;
YES if the device is on a screen or intended to be
displayed on one.
redefine boolean isPrinter;
YES if the device is a printer.
(float, float) resolution;