TDataFrame

Declaration

Delphi

TDataFrame = record
    x,
    y: SmallInt;
    z: Byte;
    FrameNumber: Integer;
    LineNumber: Byte;
    timeCode: Integer;
end;

C/C++

typedef struct
{
    short x;
    short y;
    unsigned char z;
    int FrameNumber;
    unsigned char LineNumber;
    int timecode;
} SOPAD_TDataFrame;

Description

This type is used to store a data frame from the pad. This data structure is not 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.