XPS_LINE_CAP enumeration (xpsobjectmodel.h)

Specifies the shapes of line segment caps.

Syntax

typedef enum __MIDL___MIDL_itf_xpsobjectmodel_0000_0000_0005 {
  XPS_LINE_CAP_FLAT = 1,
  XPS_LINE_CAP_ROUND,
  XPS_LINE_CAP_SQUARE,
  XPS_LINE_CAP_TRIANGLE
} XPS_LINE_CAP;

Constants

 
XPS_LINE_CAP_FLAT
Value: 1
Flat line cap.
XPS_LINE_CAP_ROUND
Round line cap.
XPS_LINE_CAP_SQUARE
Square line cap.
XPS_LINE_CAP_TRIANGLE
Triangular line cap.

Remarks

In the illustration that follows, the shaded area at the end of each line segment shows the cap that is added to the line segment depending on the value of XPS_LINE_CAP.

A diagram that shows examples of the different XPS_LINE_CAP styles

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 xpsobjectmodel.h

See also

XML Paper Specification