10 Getting Group Positions

10 Q3Group_GetPreviousPosition

You can use the Q3Group_GetPreviousPosition function to get the position of the previous object in a group.

TQ3Status Q3Group_GetPreviousPosition (
TQ3GroupObject group, 
TQ3GroupPosition *position);
group A group.
position On entry, a pointer to a valid group position. On exit, a pointer to the position in the specified group of the object that immediately precedes the object in that position.

DESCRIPTION


The Q3Group_GetPreviousPosition function returns, in the position parameter, the position in the group specified by the group parameter of the object that immediately precedes the object having the position specified on entry in the position parameter. If the object specified on entry is the first object in the group, Q3Group_GetPreviousPosition returns the value NULL in the position parameter.

ERRORS


kQ3ErrorInvalidObject
kQ3ErrorInvalidPositionForGroup
kQ3ErrorNULLParameter

DESCRIPTION
ERRORS

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker