![](../../../Home/Icons/Home.gif)
![](../icons/UpBook.gif)
![](../icons/BookContext.gif)
![](../../../Home/Icons/Search.gif)
![](../../../Home/Icons/Help.gif)
![](../../icons/button_contents.gif)
![](../../icons/button_previous.gif)
Square caps
Use a square cap to extend the start, end, or C0 discontinuity points of a path geometry. The cap is added in a straight line by half the pen width. Figure 107 shows a polyline with square start and end caps. The white line shows the original line size of the line before the cap was added.
![](GS107AT2.DOC_AFrame_34.gif)
The following code defines square start and end caps that are adopted by polyBundle.
TSquareCap* startSquareCap = new TSquareCap();
TSquareCap* endSquareCap = new TSquareCap();
polyBundle->AdoptFrameStartCap( startSquareCap );
polyBundle->AdoptFrameEndCap( endSquareCap );
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.
Generated with WebMaker