|
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.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|