GetQDRegion
Mac OSThe
GetQDRegionmethod returns an approximation of this shape in the form of a read-only QuickDraw region.
ODRgnHandle GetQDRegion ();
- return value
- A QuickDraw region that approximates this shape.
DISCUSSION
The returned QuickDraw region is owned by this shape; you cannot modify it or deallocate its storage. The region and its content are valid only until the next operation on this shape.This method calls the
GetPlatformShapemethod to obtain the QuickDraw region.EXCEPTIONS
kODErrInvalidGraphicsSystem- The QuickDraw graphics system is not installed or available.
SEE ALSO
TheODRgnHandletype (page 884).
TheODShape::GetPlatformShapemethod (page 639).
TheODShape::SetQDRegionmethod (page 652).
Listing 2-18 on page 68 in OpenDoc Cookbook.