2.1.1.26 PostScriptCap Enumeration

The PostScriptCap Enumeration defines line-ending types for use with a PostScript printer driver.

 typedef  enum 
 {
   PostScriptNotSet = -2,
   PostScriptFlatCap = 0,
   PostScriptRoundCap = 1,
   PostScriptSquareCap = 2
 } PostScriptCap;

PostScriptNotSet: Specifies that the line-ending style has not been set and that a default style can be used.<22>

PostScriptFlatCap: Specifies that the line ends at the last point. The end is squared off.

PostScriptRoundCap: Specifies a circular cap. The center of the circle is the last point in the line. The diameter of the circle is the same as the line width; that is, the thickness of the line.

PostScriptSquareCap: Specifies a square cap. The center of the square is the last point in the line. The height and width of the square are the same as the line width; that is, the thickness of the line.