TouchPanelCalibrateAPoint

This function converts non-calibrated points to calibrated points.

Syntax

VOID TouchPanelCalibrateAPoint( INT32 UncalX, INT32 UncalY,
INT32 *
pCalX, INT32 *pCalY );

Parameters

UncalX
Specifies a non-calibrated x-coordinate.
UncalY
Specifies a non-calibrated y-coordinate.
pCalX
Pointer to the returned calibrated x-coordinate.
pCalY
Pointer to the returned calibrated y-coordinate.

Remarks

A factor of 4 is hidden in the calculations of x and y. This provides sub-pixel accuracy to the GWES, which theoretically will improve accuracy if handwriting recognition is added to Windows CE. This value is not declared in a header file, so it agrees with the divisor used by the GWES in Touch.cpp.

The transform coefficients are already in vCalcParam.

This function is defined in the header file Tchddi.h file and is available in Windows CE version 1.0 and later.