Previous: 4.37.2.118. SetVisualPage procedure To the Table of Contents Next: 4.37.2.120. Spline procedure
4.37.2.118. SetVisualPage procedure Table of Contents 4.37.2.120. Spline procedure

- 4.37.2.119. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.2. Graph Unit Procedures and Functions
4.37.2.119. SetWriteMode procedure


4.37.2.119. SetWriteMode procedure

Targets: MS-DOS, Win32


Graph Unit

Sets the writing mode for line drawing.

Declaration:
procedure SetWriteMode(WriteMode: DWORD);
Remarks:
Each binary operation constant corresponds to a binary operation between each byte in the line and the corresponding bytes on the screen. CopyPut uses the assembly language MOV instruction, overwriting the line with whatever is on the screen. XORPut uses the XOR command to combine the line with the screen. Two successive XOR commands will erase the line and restore the screen to its original appearance.

SetWriteMode affects calls to the following routines only: DrawPoly, PutPixel, Line, LineRel, LineTo, Rectangle, Circle, Ellipse, Bar3D, PutHTextel, PutSprite, DrawEllipse, Triangle and PutImage.


Previous: 4.37.2.118. SetVisualPage procedure To the Table of Contents Next: 4.37.2.120. Spline procedure
4.37.2.118. SetVisualPage procedure Table of Contents 4.37.2.120. Spline procedure

- 4.37.2.119. -