Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This function converts noncalibrated points to calibrated points.
Syntax
VOID TouchPanelCalibrateAPoint(
INT32 UncalX,
INT32 UncalY,
INT32* pCalX,
INT32* pCalY
);
Parameters
- UncalX
[in] Noncalibrated x-coordinate.
- UncalY
[in] Noncalibrated y-coordinate.
- pCalX
[out] Pointer to the returned calibrated x-coordinate.
- pCalY
[out] Pointer to the returned calibrated y-coordinate.
Return Value
None.
Remarks
A factor of four is hidden in the calculations of x and y. This provides sub-pixel accuracy to GWES. This improves accuracy for handwriting recognition support. No header file declares this value, so it agrees with the divisor used by GWES in Touch.cpp.
The transform coefficients are already in vCalcParam.
Requirements
| Header | tchddi.h |
| Library | Tchmain.lib |
| Windows Embedded CE | Windows CE 1.0 and later |