ID2D1Ink interface

Represents a single continuous stroke of variable-width ink, as defined by a series of Bezier segments and widths.

Members

The ID2D1Ink interface inherits from ID2D1Resource. ID2D1Ink also has these types of members:

Methods

The ID2D1Ink interface has these methods.

MethodDescription
AddSegments

Adds the given segments to the end of this ink object.

GetBounds

Retrieve the bounds of the geometry, with an optional applied transform.

GetSegmentCount

Returns the number of segments in this ink object.

GetSegments

Retrieves the specified subset of segments stored in this ink object.

GetStartPoint

Retrieves the starting point for this ink object.

RemoveSegmentsAtEnd

Removes the given number of segments from the end of this ink object.

SetSegmentAtEnd Overloaded.

Updates the last segment in this ink object with new control points.

SetSegments

Updates the specified segments in this ink object with new control points.

SetStartPoint Overloaded.

Sets the starting point for this ink object. This determines where this ink object will start rendering.

StreamAsGeometry Overloaded.

Retrieves a geometric representation of this ink object.

 

Requirements

Header

D2d1_3.h

Library

D2d1_3.lib

DLL

D2d1_3.dll

 

 

Show: