TouchPanelCalibrateAPoint (Compact 2013)

3/26/2014

This function calibrates a touch point.

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

tchproxy.dll

See Also

Reference

Touch Proxy Driver Functions