6 Managing Fill Styles

6 Q3FillStyle_New

You can use the Q3FillStyle_New function to create a new fill style object.

TQ3StyleObject Q3FillStyle_New (TQ3FillStyle fillStyle);
fillStyle A fill style value.

DESCRIPTION


The Q3FillStyle_New function returns, as its function result, a new style object having the fill style specified by the fillStyle parameter. The fillStyle parameter should be one of these values:

kQ3FillStyleFilled
kQ3FillStyleEdges
kQ3FillStylePoints
If a new style object could not be created, Q3FillStyle_New returns the value NULL.

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

SEE ALSO


See "Fill Styles" on page 6-6 for a description of the available fill 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