The HINKSET Object

An inkset object consists of time intervals for either individual strokes or a collection of strokes. In turn, the interval of each stroke consists of the times at which the stroke begins and ends. In this way, a pen-based application can refer to a stroke not only by the points it contains but also by the time interval in which the stroke occurs. A rough analogy of this sort of indirect referencing is the way some programming languages allow the use of pointers to indicate data.

Timing information principally serves recognizers. It provides them with an additional characteristic of the raw data that may offer clues for interpretation.

Timing information has other uses, as well. For example, it enables an application to accurately verify a signature by comparing not only the coordinates but the duration of each stroke against a copy of the original signature. This is an effective safeguard against forgery because of the difficulty of simultaneously duplicating both the pattern and duration of the original signature.

An HINKSET object can contain up to 5,460 intervals. An interval is expressed as an INTERVAL structure, which consists of two ABSTIME structures. Each INTERVAL structure identifies a stroke's start and stop times in milliseconds. See the appropriate reference sections in Chapter 11 for type definitions of the ABSTIME and INTERVAL structures.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
Unix Manual Pages
Delphi Examples