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.
_GetFillMask Function
◄Summary► ◄Details► ◄Example► ◄Back►
Argument
mask Array of type _FillMask for specifying fill patterns
Returns
Boolean False if no mask is defined
Description
Some graphics routines (_Ellipse, _FloodFill, _Pie, and _Rectangle)
can fill part or all of the screen with the current color. The
filling can be controlled with the current fill mask.
The mask is like an 8 x 8 array of bits, where each bit represents
a pixel. A 1 bit sets the corresponding pixel to the current color,
while a 0 bit leaves the pixel unchanged. The mask is repeated over
the entire fill area. If no fill mask is set, the area is filled
using a solid pattern.
_GrStatus Returns
_GrError, _GrNotInProperMode