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.
_SetWriteMode Procedure
◄Summary► ◄Details► ◄Example► ◄Back►
Argument
action _GAND, _GOR, GPRESET, _GPSET, or _GXOR
Description
The _SetWriteMode procedure sets the logical write operation to be
used when drawing lines. _GPSET (the default) causes lines to be
drawn in the current graphics color. _GXOR performs a logical
exclusive OR operation with the original screen image. The values
_GAND, _GOR, and _GPRESET specify other logical operations. See
the _PutImage help entry for more details on these logical
operations.
In QuickPascal 1.0, the _SetWriteMode function affects lines drawn
with the _LineTo and _Rectangle procedures only.
_GrStatus Returns
_GrInvalidParameter, _GrNotInProperMode