D2D1_POINT_DESCRIPTION structure (d2d1_1.h)

Describes a point on a path geometry.

Syntax

typedef struct D2D1_POINT_DESCRIPTION {
  D2D1_POINT_2F point;
  D2D1_POINT_2F unitTangentVector;
  UINT32        endSegment;
  UINT32        endFigure;
  FLOAT         lengthToEndSegment;
} D2D1_POINT_DESCRIPTION;

Members

point

The end point after walking the path.

unitTangentVector

A unit vector indicating the tangent point.

endSegment

The index of the segment on which point resides. This index is global to the entire path, not just to a particular figure.

endFigure

The index of the figure on which point resides.

lengthToEndSegment

The length of the section of the path stretching from the start of the path to the start of endSegment.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d2d1_1.h

See also

ID2D1PathGeometry1::ComputePointAndSegmentAtLength