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;
} D2D1_POINT_DESCRIPTION, *PD2D1_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.

Remarks

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2D1_1.h

Type library

D2D1.lib

See also

ID2D1PathGeometry1::ComputePointAndSegmentAtLength

 

 

Show: