Attribute bundle class architecture
Figure 92 shows all of the bundle classes that derive from the abstract base class TAttributeState. TAttributeState has pure virtual Get functions to retrieve information on the attributes and drawing operation for the bundle. The drawing operation determines whether the bundle provides fills, frames, or fills and frames. See Figure 94 for a description of fill and frame.
TFillBundle, TFrameBundle, TFillAndFrameBundle, THairlineFrameBundle, and TFillAndHairlineFrameBundle are special purpose attribute bundles where commonly used combinations of attributes can be easily specified. TGrafBundle does what any of the special purpose attribute bundles does and much more. In particular, TGrafBundle lets you specify transfer mode and image sampling settings for 2-D image graphics. See Chapter 8.
The fill is a color that spreads over the interior of the geometry, and the frame is the color and line that outlines the border of the geometry.
[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