Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
RectRgn
To change the structure of an existing region to that of a rectangle, you can use theRectRgnprocedure.
PROCEDURE RectRgn (rgn:ÝRgnHandle; r:ÝRect);
rgn- A handle to the region to restructure as a rectangle.
r- The rectangle structure to use.
DESCRIPTION
TheRectRgnprocedure destroys the previous structure of theSetRectRgnprocedure, and it then sets the new structure to a rectangle that you specify in therparameter.As an alternative to the
RectRgnprocedure, you can use theSetRectRgnprocedure, which accepts as parameters four coordinates instead of a rectangle.SPECIAL CONSIDERATIONS
TheRectRgnprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |