设备上的两个点的距离:
The GetDeviceCaps function retrieves device-specific information for the specified device.
int GetDeviceCaps(
HDC hdc, // handle to DC
int nIndex // index of capability
);
width<0 时表示设备上的单位
Value Meaning
> 0 The font mapper transforms this value into device units and matches it against the cell height of the available fonts.
0 The font mapper uses a default height value when it searches for a match.
< 0 The font mapper transforms this value into device units and matches its absolute value against the character height of the available fonts.