90 | FillRects
FillRects
Purpose Use
the screen.
Syntax
DError (*FillRects) (dev, rop, planeMask, value, r,
Return value
D_OK
Description
FillRects()
DMdFillRect,
each rectangle on the screen using the pixel value
applying the specified rasterop and plane mask while
doing so.
Currently the only rasterop supported is copy;
ignored. Also,
written. For future compatibility, set
and
Errors
DMD_ERROR_BAD_DEVICE -
the rectangle fill.
to draw an array of filled rectangles on
FillRects
nRects)
Parameter Type
DMdDev
DLong
DLong
DLong
DMdFillRect
DLong
if successful; otherwise, an error code.
takes an array of
containing rectangles to be filled, and draws
planeMask
to ~0 (all ones [1s]).
planeMask
Name
Description
Device handle of the DOME
dev
device
Raster operation to apply
rop
(currently copy)
Plane mask to apply
planeMask
(currently all ones [1s])
Pixel value to fill rectangles
value
with
Array of rectangles to draw
*r
Number of rectangles to
nRects
draw
nRects
is ignored, and all planes are
rop
Device failed to complete
structures of
value,
is
rop
to GXcopy (or 3),