4 Creating and Editing Simple Polygons

4 Q3Polygon_GetData

You can use the Q3Polygon_GetData function to get the data that defines a simple polygon and its attributes.

TQ3Status Q3Polygon_GetData (
TQ3GeometryObject polygon, 
TQ3PolygonData *polygonData);
polygon A simple polygon.
polygonData On exit, a pointer to a TQ3PolygonData structure that contains information about the simple polygon specified by the polygon parameter.

DESCRIPTION


The Q3Polygon_GetData function returns, through the polygonData parameter, information about the simple polygon specified by the polygon parameter. QuickDraw3D allocates memory for the TQ3PolygonData structure internally; you must call Q3Polygon_EmptyData to dispose of that memory.

DESCRIPTION

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker