Round caps

Use a round cap to put a semicircle at the start, end, or C0 discontinuity points of a path geometry. Figure 106 shows a polyline with round start and end caps. The white line shows the original size of the line before the cap was added.


The following code defines round start and end caps that are adopted by polyBundle.

    TRoundCap* startRoundCap = new TRoundCap(); TRoundCap* endRoundCap = new TRoundCap(); polyBundle->AdoptFrameStartCap( startRoundCap ); polyBundle->AdoptFrameEndCap( endRoundCap );

[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