Mode in which graphics combine with background (sys.DrawGraphicMode)ΒΆ
sys.DrawGraphicMode,,i4 |
Combining graphic images with background |
This variable defines the way in which a graphic image produced by a Sculptor draw function is combined with the existing background. The possible values are:
BLACKNESS |
Set the existing background to black |
DSTINVERT |
Invert the existing background |
MERGECOPY |
Combine the current pattern brush with the graphic, using a Boolean AND operation, and copy the result over the existing background |
MERGEPAINT |
Invert the graphic, then combine it with the existing background using a Boolean OR operation |
NOTSRCCOPY |
Invert the graphic and copy it over the existing background |
NOTSRCERASE |
Combine the graphic with the existing background using a Boolean OR operation, and then invert the result |
PATCOPY |
Copy the current pattern brush over the existing background |
PATINVERT |
Combine the current pattern brush with the existing background using a Boolean XOR operation |
PATPAINT |
Invert the graphic and combine it with the current pattern brush using a Boolean OR operation, then combine the result with the existing background using a Boolean OR operation |
SRCAND |
Combine the graphic with the existing background using a Boolean AND operation |
SRCCOPY |
Copy the graphic over the existing background. This is the default value. |
SRCERASE |
Invert the existing background, then combine the graphic with the result using a Boolean AND operation |
SRCINVERT |
Combine the graphic with the existing background using a Boolean XOR operation |
SRCPAINT |
Combine the graphic with the existing background using a Boolean OR operation |
WHITENESS |
Set the existing background to white |
These values are defined in $SCULPTOR/include/draw.h.
RELATED TOPICS |