Important: The information in this document is obsolete and should not be used for new development.
PaintRect
To paint a rectangle with the graphics pen's pattern and pattern mode, use thePaintRectprocedure.
PROCEDURE PaintRect (r:\xDDRect);
r- The rectangle to paint.
DESCRIPTION
ThePaintRectprocedure draws the interior of the rectangle that you specify in therparameter with the pen pattern for the current graphics port, according to the pattern mode for the current graphics port. The pen location does not change.SPECIAL CONSIDERATIONS
ThePaintRectprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
Listing 3-5 on page 3-20 illustrates how to use this procedure.You can use the
FillRectprocedure, described next, to draw the interior of a rectangle with a pen pattern different from that for the current graphics port.