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 = 0x00000000,
  D2D1_PATH_SEGMENT_FORCE_UNSTROKED = 0x00000001,
  D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN = 0x00000002,
  D2D1_PATH_SEGMENT_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_PATH_SEGMENT_NONE
Value: 0x00000000
The segment is joined as specified by the ID2D1StrokeStyle interface, and it is stroked.
D2D1_PATH_SEGMENT_FORCE_UNSTROKED
Value: 0x00000001
The segment is not stroked.
D2D1_PATH_SEGMENT_FORCE_ROUND_LINE_JOIN
Value: 0x00000002
The segment is always joined with the one preceding it using a round line join, regardless of which D2D1_LINE_JOIN enumeration 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
Value: 0xffffffff

Requirements

Requirement Value
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