Previous: SetSplineLineSteps procedure To the Table of Content Next: SetViewPort procedure

- 4.37.2.115 -
Standard Units
Graph Unit
Graph Unit Procedures and Functions

SetTranspMode procedure

Targets: MS-DOS, Win32


Graph Unit

Sets/resets transparent mode for BitMaps output.

Declaration:
procedure SetTranspMode(Mode: Boolean; Color: DWORD);
Remarks:
TMT Graph supports transparent BitMaps blt. If Mode parameter is True, all pixels consisting of BitMap pixels with a color which is different from the given Color value will be put to the screen. Any pixel which coincides with the value Color will be ignored (will not be placed on the screen). This is very useful for games programming. Transparent BitMaps blt are supported in any graphic mode (MCGA/VGA, SVGA 256, 32K, 64K, 16M and 16M+A colored modes, with LFB and banked modes)!

SetTranspMode affects calls to the following routines only: PutHTextel, PutSprite and PutImage.


Previous: SetSplineLineSteps procedure To the Table of Content Next: SetViewPort procedure
SetSplineLineSteps procedure Table of Content SetViewPort procedure

- 4.37.2.115 -