File tag/DeviceDescription


class tag.DeviceDescription

Inherits

State supers
Device

variables

static tom.MutableEqSet devices;
The set containing all unique (shared) device descriptions.

methods

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;
Return the DeviceDescription with the indicated characteristics, creating it if it does not yet exist.

instance tag.DeviceDescription

variables

public int device_type;
The device type.
int bits_per_sample;
The significant number of bits per sample, rounded up.
int color_space;
The device's intrinsic color space.
float res_x;
Resolution in pixels per inch.
float res_y;
float f_x;
The frame.
float f_y;
float f_w;
float f_h;

methods

redefine boolean
  equal Device d;
Have the Device tell whether it is equal to this DeviceDescription.

redefine boolean
  equalDeviceDescription DeviceDescription d;
Return 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;
Designated initializer.

int
  bitsPerSample;
Return the device's bits per sample.

int
  colorSpace;
Return the device's color space.

(float, float, float, float)
  frame;
Undocumented.

redefine boolean
  isScreen;
Return YES if the device is on a screen or intended to be displayed on one.

redefine boolean
  isPrinter;
Return YES if the device is a printer.

(float, float)
  resolution;
Return the resulution of the device, in pixels per inch.


Generated by tm 1.01.