ezLCD SDK Documentation

TouchScreenCalibration Constructor 

 [This is preliminary documentation and subject to change.]

Constructs a new TouchScreenCalibration object by computing the transformation between three sampled points and the matching target points.

[Visual Basic]
Public Sub New( _ 
   ByVal TouchPoint As TouchPoint, _ 
   ByVal EZLCDPointEx As EZLCDPointEx, _ 
   ByVal TouchPoint As TouchPoint, _ 
   ByVal EZLCDPointEx As EZLCDPointEx, _ 
   ByVal TouchPoint As TouchPoint, _ 
   ByVal EZLCDPointEx As EZLCDPointEx _ 
)
[C#]
public TouchScreenCalibration(
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx,
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx,
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx
);
[C++]
public: TouchScreenCalibration(
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx,
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx,
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx
);
[JScript]
public function TouchScreenCalibration(
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx,
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx,
   TouchPoint TouchPoint,
   EZLCDPointEx EZLCDPointEx
);

Parameters

touchPoint0
The location in touch screen coordinates of the first sampled point.
displayPoint0
The location in display coordinates of the first target point.
touchPoint1
The location in touch screen coordinates of the second sampled point.
displayPoint1
The location in display coordinates of the second target point.
touchPoint2
The location in touch screen coordinates of the third sampled point.
displayPoint2
The location in display coordinates of the third target point.

See Also

TouchScreenCalibration Class | EZLCD.Core Namespace