Rectangle

This function draws a rectangle using the specified color and flags and exits with COLOR=Color.

    int x        Horizontal location of upper left corner of rectangle.  
    int y        Vertical location of upper left corner of rectangle.  
    int w        Width of rectangle.  
    int h        Height of rectangle.  
    UINT Color   Color to be used as identified by Flags setting.  
    \UINT Flags  0 = Outline only 
                 1 = Solidfill interior 
                 2 = Patternfill interior with "gray" pattern