# TP_GetCalibratedPoint

## Syntax

  `#include <nitro/spi.h>`

      void TP_GetCalibratedPoint( TPData * disp, const TPData * raw );

## Arguments

disp | Pointer used for getting values that have been converted to screen coordinates
raw | Pointer to the data before conversion Stores uncalibrated, raw touch panel values

## Return Values

None.

## Description

Uses the calibration values that were set by the `TP_SetCalibrateParam` function to convert raw touch panel values to screen coordinates. This function also copies touch and validity values. When the touch flag of the conversion source data is OFF, the coordinates (`0,0`) are returned. Also, when calibration parameters are not set, the touch panel value is output directly. It is acceptable to pass the same pointers in the arguments `disp` and `raw`.

## See Also

`TP_GetUnCalibratedPoint, TP_SetCalibrateParam, TPData`

## Revision History

2004/04/16 Initial version.

CONFIDENTIAL