SetQDRegion
Mac OSThe
SetQDRegionmethod modifies this shape to make it equivalent to the specified QuickDraw region.
void SetQDRegion (in ODRgnHandle rgn);
rgn- A non-null QuickDraw region.
DISCUSSION
After this method executes successfully, the QuickDraw region is owned by this shape; you cannot modify it or deallocate its storage.This method calls the
SetPlatformShapemethod to assign the QuickDraw region.EXCEPTIONS
kODErrInvalidGraphicsSystem- The QuickDraw graphics system is not installed or available.
kODErrInvalidPlatformShape- This shape is a null region.
SEE ALSO
TheODRgnHandletype (page 884).
TheODShape::GetQDRegionmethod (page 640).
TheODShape::SetPlatformShapemethod (page 650).
Listing 2-22 on page 72 in OpenDoc Cookbook.