6 Managing Highlight Styles

6 Q3HighlightStyle_New

You can use the Q3HighlightStyle_New function to create a new highlight style object.

TQ3StyleObject Q3HighlightStyle_New (
TQ3AttributeSet highlightAttribute);
highlightAttribute
An attribute set.

DESCRIPTION


The Q3HighlightStyle_New function returns, as its function result, a new style object having the highlight style specified by the highlightAttribute parameter. The highlightAttribute parameter should be a reference to an attribute set.

If a new style object could not be created, Q3HighlightStyle_New returns the value NULL.

To change the current highlight style, you must actually draw the style object. You can call Q3Style_Submit to draw the style in retained mode or Q3HighlightStyle_Submit (described next) to draw the style in immediate mode.

SEE ALSO


See "Highlight Styles" on page 6-6 for a description of highlight styles.

DESCRIPTION
SEE ALSO

3D Graphics Programming with QuickDraw 3D - 16 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker