Frame joint styles

The joint style controls the rendering of sharp joints (C1 discontinuity as described in Chapter 4). Every sharp joint causes a gap to occur between the edges of the frame. The joint style determines how to fill this gap. The TJoint derived classes shown in Figure 108 provide the interfaces for bevel, miter, and round joints. A TGrafBundle uses a TMiterLimitJoint by default. TJoint has a pure virtual AdjustBounds function that returns the TGRect that encloses the joint.

NOTE Presently only a round joint can be applied to a non-linear curve. A non-linear curve is a polyline or a curve of order 3 or 4 as described in Chapter 4.



[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