E Graphics Device Properties
The system variable !d.flags is a long scalar that contains information about the current graphics device. Bits are set in !d.flags depending on whether the current graphics device has certain properties, as shown in Table E.1.
To determine whether the current graphics device has a certain property, apply a bit-wise and to the bit in question. For example, to test whether the device supports widgets:
|0||1||Has scalable pixels|
|1||2||Can output text at an arbitrary angle using hardware|
|2||4||Can control line thickness using hardware|