Inserts points into an existing HPENDATA
int InsertPenDataPoints( HPENDATA hpndt, UINT iStrk, UINT iPnt, UINT cPnts, LPPOINT lppt, LPVOID lpvOem )
Handle to an HPENDATA
Zero-based index of the stroke into which the points are inserted. If this
value is IX_END, the points are inserted in the last stroke.
Zero-based index of the point in the stroke before which the points are
inserted. If this value is IX_END, the points are appended to the end of the stroke.
Total number of points to be inserted. If this is 0, the function returns
PDR_OK without taking any other action.
Address of an array of POINT
structures containing the points to be inserted.
Address of a buffer containing the OEM data to be inserted. This value can be
NULL only if the HPENDATA
object does not have OEM data or a PENINFO
Returns PDR_OK if successful; otherwise, the return value can be one of the
following negative values:
|Pen data is compressed.
|Parameter or other unspecified error.
|Out of memory.
|Invalid stroke index.
|Invalid point index.
|Could not convert old pen data object.
InsertPenDataPoints inserts points into an existing stroke of the specified pen data object. It
does not create a new stroke. (Use the InsertPenDataStroke
function to insert new strokes into the pen data object.) The stroke
attributes are not affected by the points added to the stroke.
The calling application must ensure that lppt
are valid and that the points are in the same scale as those of the pen data
performs no automatic scaling of the points.
does not make any timing adjustments after adding points. This can affect
recognition accuracy and should be used judiciously.
For a description of timing information, see "The HINKSET Object" in Chapter
4, "The Inking Process."
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages
- Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database