D2D1_POINT_DESCRIPTION structure

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;
};

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

   
Windows version Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Header d2d1_1.h

See Also

ID2D1PathGeometry1::ComputePointAndSegmentAtLength