Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This function initializes calibration information in a global parameter vCalcParam, which is used to convert non-calibrated points to calibrated points by the TouchPanelCalibrateAPointfunction.
VOID TouchPanelSetCalibration( INT32 cCalibrationPoints , INT32 * pScreenXBuffer , INT32 * pScreenYBuffer , INT32 * pUncalXBuffer , INT32 * pUncalYBuffer );
Parameters
Remarks
This is the two-dimensional version of the transform. A simpler one-dimensional transform is in the MDD code. The preprocessor variable TWO_DIMENSIONAL_CALIBRATION can be used to select which transform to use.
The two-dimensional version is more complicated but more accurate because it does not assume independent x and y values.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Tchddi.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004