SetGXShape
Mac OSThe
SetGXShapemethod modifies this shape to make it equivalent to the specified QuickDraw GX shape.
void SetGXShape (in ODgxShape s);
s- A QuickDraw GX shape object of type rectangle, polygon, path, empty, or full.
DISCUSSION
Before calling this method, you must ensure that QuickDraw GX is installed. After this method executes successfully, the QuickDraw GX shape is owned by this shape; you cannot modify it or deallocate its storage.This method calls the
SetPlatformShapemethod to assign the shape.EXCEPTIONS
kODErrInvalidGraphicsSystem- The QuickDraw GX graphics system is not installed or available.
kODErrInvalidPlatformShape- This shape's type is not one of polygon, rectangle, path, empty, or full.
kODErrOutOfMemory- There is not enough memory to assign the QuickDraw GX shape.
SEE ALSO
TheODgxShapetype (page 884).
TheODShape::GetGXShapemethod (page 638).
TheODShape::SetPlatformShapemethod (page 650).