Drawing operations
The color and pattern used to draw the wire frame or to color a surface is specified with the TColor class. The drawing operation specifies whether the 3D attribute bundle is to draw the wire frame only, the inside and outside surfaces only, or both the wire frame and the inside and outside surfaces. The TGrafBundle3D functions are shown in Figure 188. See Chapter 7 for example code that changes the drawing operation on a 2-D attribute bundle. For the drawing operation, the same principles apply with 3-D attribute bundles as for 2-D attribute bundles.
The drawing operation is set by an enumeration value of type EDrawOperation that can have one of the values shown in the list below.
kFill: The bundle attributes are used for outside and inside surface colors.
kFrame: The bundle attributes are used for the wire frame.
kFillAndFrame: The bundle attributes are used for the wire frame and the inside and outside surfaces.
[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