D2D1_PATH_SEGMENT enumeration (d2d1.h)

Indicates whether a segment should be stroked and whether the join between this segment and the previous one should be smooth. This enumeration allows a bitwise combination of its member values.

Syntax

typedef enum D2D1_PATH_SEGMENT {
  D2D1_PATH_SEGMENT_NONE,
  D2D1_PATH_SEGMENT_FORCE_UNSTROKED,
  D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN,
  D2D1_PATH_SEGMENT_FORCE_DWORD
} ;

Constants

Name Description
D2D1_PATH_SEGMENT_NONE The segment is joined as specified by the ID2D1StrokeStyle interface, and it is stroked.
D2D1_PATH_SEGMENT_FORCE_UNSTROKED The segment is not stroked.
D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN The segment is always joined with the one preceding it using a round line join, regardless of which D2D1_LINE_JOINenumeration is specified by the ID2D1StrokeStyle interface. If this segment is the first segment and the figure is closed, a round line join is used to connect the closing segment with the first segment. If the figure is not closed, this setting has no effect on the first segment of the figure. If ID2D1SimplifiedGeometrySink::SetSegmentFlags is called just before ID2D1SimplifiedGeometrySink::EndFigure, the join between the closing segment and the last explicitly specified segment is affected.
D2D1_PATH_SEGMENT_FORCE_DWORD

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header d2d1.h

See also

ID2D1SimplifiedGeometrySink::SetSegmentFlags

ID2D1StrokeStyle