next up previous contents
Next: 8 Blending and Compositing Up: 7 Line Rendering Techniques Previous: 7.5 Preventing Smooth Wide   Contents

7.6 End Caps On Wide Lines

If wide lines form a loop, like a silhouette edge or the outline of a polygon, it may be necessary to fill regions where one line ends and another begins, to give the appearance of a rounded joint. Smoothed wide points may be applied at the ends of the line segments to form an end cap.

Use an algorithm like the one presented in Section 7.5 to avoid saturating pixels with the line and point color.