Compartilhar via


IInkStrokeDisp::BezierCusps

4/8/2010

Gets an array that contains the indices of the cusps of the Bezier approximation of the IInkStrokeDisp stroke.

Syntax

[propget] HRESULT get_BezierCusps ([out, retval] VARIANT *BezierCusps
);

Parameters

  • BezierCusps
    An array of integers for the indices of the points that are the cusps of the Bezier approximation of the stroke.

    This property is read–only.

    For more information about the VARIANT structure, see Using the Automation Library with Windows Mobile Ink.

Return Value

HRESULT value Description

S_OK

Success.

E_POINTER

Parameter pointer was NULL or invalid.

E_OUTOFMEMORY

Cannot allocate memory for the points.

E_INK_EXCEPTION

An exception occurred inside the method.

Remarks

The array of Bezier control points that the IInkStrokeDisp::BezierPoints property returns are made up of x and y values. The BezierCusps property refers only to the x values in this array.

A cusp is a point on the stroke where the direction of writing changes in a discontinuous fashion. For example, if the stroke represents the capital letter "L", this property returns three cusps: two corresponding to the first and last control points on the stroke and the third representing the corner of the "L".

Requirements

Header msinkaut.h
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later

See Also

Concepts

Windows Mobile Ink Reference