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.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help