Important: The information in this document is obsolete and should not be used for new development.
FrameRect
To draw an outline inside a rectangle, use theFrameRect
procedure.
PROCEDURE FrameRect (r:\xDDRect);
r
- The rectangle to frame.
DESCRIPTION
Using the pattern, pattern mode, and size of the graphics pen for the current graphics port, theFrameRect
procedure draws an outline just inside the rectangle that you specify in ther
parameter. The outline is as wide as the pen width and as tall as the pen height. The pen location does not change.If a region is open and being formed, the outside outline of the new rectangle is mathematically added to the region's boundary.
SPECIAL CONSIDERATIONS
TheFrameRect
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
Listing 3-4 on page 3-19 illustrates how to use this procedure.