5 Creating and Managing Attribute Sets
Q3AttributeSet_Inherit
function to configure an attribute set so that it contains all the attributes of a child set together with all the attributes inherited from a parent set.
TQ3Status Q3AttributeSet_Inherit ( TQ3AttributeSet parent, TQ3AttributeSet child, TQ3AttributeSet result);parent
An attribute set.child
An attribute set.result
On entry, an attribute set. On exit, an attribute set that contains all the attributes in the specified child set together with all the attributes inherited from the specified parent set.
Q3AttributeSet_Inherit
function returns, in the result
parameter, an attribute set that merges attributes from the attribute sets specified by the child
and parent
parameters. The resulting set contains all the attributes in the child set together with all those in the parent set having an attribute type that is not contained in the child attribute set.
If the specified child and parent attribute sets contain any custom attribute types, Q3AttributeSet_Inherit
uses the custom type's kQ3MethodTypeAttributeCopyInherit
custom method. See the chapter "QuickDraw 3D Objects" for complete information on custom element types.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker