TouchPanelCalibrateAPoint (Windows CE 5.0)

Send Feedback

This function converts noncalibrated points to calibrated points.

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 Values

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

OS Versions: Windows CE 1.0 and later.
Header: Tchddi.h.
Link Library: Tchmain.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.