Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Filevswr_mode() VDISyntaxWORD vswr_mode( handle, mode )
WORD handle, mode;
Function vswr_mode() defines the writing mode for rendering VDIobjects.
Opcode 32
Availability Supported by all drivers.
Parameters handle specifies a valid workstation handle.
mode specifies a writing mode as follows:
Name mode Example
MD_REPLACE 1
MD_TRANS 2
MD_XOR 3
MD_ERASE 4
Binding contrl[0] = 32;
contrl[1] = 0;
contrl[3] = 1;
contrl[6] = handle;
intin[0] = mode;
vdi();
return intout[0];
Return Value vswr_mode() returns the writing mode set.
Comments In true-color modes, MD_ERASE and MD_TRANS work a little
differently, they write (or avoid writing on) whatever color
is currently held in VDI color 0 (as opposed to the actual
register reference of 0).
Group VDI Attributes