TDataFrameEx
Declaration
Delphi
TDataFrameEx = record x: Cardinal; y: Cardinal; z: Cardinal; FrameNumber: Cardinal; LineNumber: Cardinal; timeCode: Cardinal;end;
C/C++
typedef struct{ DWORD x; DWORDy; DWORD z; DWORD FrameNumber; DWORD LineNumber; DWORD timecode;} SOPAD_TDataFrameEx;
Description
This type is used to store a data frame from the pad. This data structure is compatible with naturaSign family and newer devices.
Members
x and y
Coordinates of a cartesian coordinate system having its origin in the upper left corner.
z
Pressure data.
FrameNumber
Value from a counter in the pad which gets incremented with every frame.
LineNumber
Counter which stays the same as long as the pen is on the pad and is incremented whenever a new line is started. In a typical application, one would test if oldLineNumber = newLineNumber to find out if one should use LineTo(...) or MoveTo(...) for visualising the data.
Timecode
Represents the milliseconds since the signature has started.