Index   Commented   Search   About

The Inking Process

This chapter introduces the inking process, in which an application collects and manipulates ink data written by the user. The inking process is a logical next step from the writing process, described in the preceding chapter. In the writing process, the application provides the means for the user to enter ink. In the inking process, the application assembles the ink data, optionally modifies it, and applies it to some task.

The inking process pertains to ink data collected for its own sake rather than immediately passed on to a recognizer for interpretation. Although an application can later submit gathered data to a recognizer, the inking process deals with ink that "stays ink" rather than serving as transitory symbols immediately converted into recognized characters.

The HPENDATA data object serves as the major instrument in the inking process. The first part of this chapter describes HPENDATA and the various application programming interface (API) functions that serve it. Example code fragments throughout illustrate how to store and manage ink data with the HPENDATA services.

An application can refer to the data in an HPENDATA object by stroke and point indices, or time intervals. For viewing and manipulating ink data that falls within specified time intervals, the Pen API provides the HINKSET object. The last section of this chapter, "The HINKSET Object," examines HINKSET and its corresponding API functions.

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

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun