forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
rectangle Functions
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The rectangle functions draw a rectangle with the current color and
     line style.
 
     The rectangle function uses the view coordinate system. The
     view-coordinate points (<x1>, <y1>) and (<x2>, <y2>) are the upper-
     left and lower-right corners of the rectangle.
 
     The rectangle_w routine uses the window coordinate system. The
     window-coordinate points (<wx1>, <wy1>) and (<wx2>, <wy2>) are the
     upper-left and lower-right corners of the rectangle.
 
     The <control> parameter can be one of the following symbolic
     constants:
 
     $GBORDER         Draws the border of the rectangle using the
                      current line style.
 
     $GFILLINTERIOR   Draws a solid rectangle using the current fill
                      mask.
 
     If you try to fill the      rectangle with the floodfill function,
     the rectangle must be bordered by a solid line-style pattern.
 
     Return Value
 
     The function returns a nonzero value if the rectangle is drawn
     successfully, or 0 if an error occurs.
                                    -♦-