File tag/Device


class tag.Device

A 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.

Inherits

State supers
tom.State, tag

instance tag.Device

methods

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

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

boolean
  equalDevice Device d;
Compare the features of this Device with d.

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

deferred int
  colorSpace;
Return the device's color space.

deferred (float, float, float, float)
  frame;
Return the frame of the receiving device.

boolean
  isScreen;
Return YES if the device is on a screen or intended to be displayed on one. Default implementation returns NO.

boolean
  isPrinter;
Return YES if the device is a printer. Default implementation returns NO.

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


Generated by tm 1.01.