|
STROKEINFO
- 0 2.0
Contains information about a sequence of pen data.
typedef struct {
UINT cPnt;
UINT cbPnts;
UINT wPdk;
DWORD dwTick;
} STROKEINFO;
Members
cPnt
Count of points in the stroke.
cbPnts
Used internally to contain length of compressed data. Applications should
ignore this value.
wPdk
State of the stroke, expressed as a PDK_ value.
dwTick
Time at beginning of the stroke. dwTick holds the number of milliseconds that have elapsed since the system tick
reference that Windows determines at startup.
Comments
The STROKEINFO structure serves two main purposes. First, it is returned by the GetPenHwEventData functions with each piece of new data from the tablet. Second, it is used in
certain pen data functions such as AddPenInputHRC, AddPointsPenData, and GetPenDataStroke as a header for each stroke. In both cases, it contains information about a
sequence of data from the tablet.
For examples and further information about STROKEINFO and its members, see the section "Recognition Functions" in Chapter 8,
"Writing a Recognizer."
For a list of stroke state bits, refer to the entry for PDK_ values in Chapter
13, "Pen Application Programming Interface Constants."
See Also
AddPenInputHRC, GetPenDataStroke, GetPenInput, GetPenHwEventData, InsertPenDataStroke, TargetPoints, PDK_
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
|