XPS_LINE_CAP enumeration

Specifies the shapes of line segment caps.

Syntax

typedef enum  { 
  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
    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

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

XML Paper Specification