Condividi tramite


XPS_LINE_JOIN enumeration

Describes the joint made by two intersecting line segments.

Syntax

typedef enum  { 
  XPS_LINE_JOIN_MITER  = 1,
  XPS_LINE_JOIN_BEVEL,
  XPS_LINE_JOIN_ROUND
} XPS_LINE_JOIN;

Constants

  • XPS_LINE_JOIN_MITER
    Produces a sharp or clipped corner, depending on whether the length of the miter exceeds the miter limit.

  • XPS_LINE_JOIN_BEVEL
    Produces a diagonal corner.

  • XPS_LINE_JOIN_ROUND
    Produces a smooth, circular arc between the lines.

Remarks

In the illustration that follows, the shaded area at the vertex of the line segments in each example shows how the joint fill is determined by the value of XPS_LINE_JOIN.

A diagram that shows examples of the different XPS_LINE_JOIN values

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