PROPERTY_METRICS Structure
PROPERTY_METRICS Structure |
Defines the range and resolution of a packet property.
Declaration
[C++]
typedef struct _PROPERTY_METRICS {
LONG nLogicalMin;
LONG nLogicalMax;
PROPERTY_UNITS Units;
float fResolution;
} PROPERTY_METRICS, *PPROPERTY_METRICS;
Members
Name | Description |
---|---|
nLogicalMin | The minimum value, in logical units, that the tablet reports for this property. For example, a tablet reporting x-values from 0 to 9000 has a logical minimum of 0. |
nLogicalMax | The maximum value, in logical units, that the tablet reports for this property. For example, a tablet reporting x-values from 0 to 9000 has a logical maximum of 9000. |
Units | Specifies the physical units of the property, such as inches or degrees. For a list of property units, see the PROPERTY_UNITS enumeration type. |
fResolution | Specifies the resolution or increment value for the Units member. For example, a tablet that reports 400 dots per inch (dpi) has an fResolution value of 400. |