qpgraph.hlp (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.
_FloodFill... Procedures
  Summary Details Example                                   Back
 
  Arguments
 
    x, y        Viewport coordinates of type Integer specifying where
                to begin fill
 
    wx, wy      Window coordinates of type Double specifying where
                to begin fill
 
    boundary    Color index specifying where fill stops
 
  Description
 
    The _FloodFill routines fill an area of the display using the
    current color and fill mask.
 
    _FloodFill and _FloodFill_w begin filling at coordinates
    (x,y) and (wx,wy), respectively.
 
    If (x,y) or (wx,wy) is inside the figure, the interior is filled;
    if it is outside the figure, the background is filled. Filling
    occurs only if the point is inside or outside the figure, and will
    not occur if the point is on the figure boundary itself.
 
    Filling occurs in all directions, stopping at the color boundary.
 
  _GrStatus Returns
 
    _GrClipped, _GrInsufficientMemory, _GrInvalidParameter, _GrNoOutput,
    _GrNotInProperMode