Navigation:
  Up,
  Table of Contents,
  Index,
  
  
  
Filled Rectangles (FilledRectangle)
        | 
        
    FilledRectangle r ( int x1,  int y1,  int x2,  int y2);
        
         | 
 | 
    Creates a filled rectangle with diagonal (x1, y1)
     (x2, y2).
 
  | 
        
        
        | 
        
    int
        
         | 
        
    r.x1 ()
        
         | 
    Returns x-coordinate of the
    diagonal's first endpoint.
         | 
        
        | 
        
    int
        
         | 
        
    r.y1 ()
        
         | 
    Returns y-coordinate of the
    diagonal's first endpoint.
         | 
        
        | 
        
    int
        
         | 
        
    r.x2 ()
        
         | 
    Returns x-coordinate of the
    diagonal's second endpoint.
         | 
        
        | 
        
    int
        
         | 
        
    r.y2 ()
        
         | 
    Returns y-coordinate of the
    diagonal's second endpoint.
         | 
        
Example
The following code draws a filled rectangle with lower
  left corner (100, 100) and upper right corner (200, 200) and waits
  for a mouseclick to finish.
#include <IFM/window>
int main()
{
    wio << FilledRectangle(100, 100, 200, 200) << flush;
    wio.wait_for_mouse_click();
}
 Next:  Class declaration of Circle
  Navigation:
  Up,
  Table of Contents,
  Index,
 
  Michael Hoffmann.    Tue, December 11, 2001.