Description
Set the color mix mode for the selected canvas target.
Syntax
n = Canvas_SetMix(MixMode)
Returns
Number
Parameters
|
|
|
|
MixMode
|
Number
|
No
|
One of the following equates:
%Canvas_mix_Blackness | Pixel is always 0 (black). |
%Canvas_mix_NotMergeSrc | Pixel is the inverse of the MergeSrc color. |
%Canvas_mix_MaskNotSrc | Pixel is a combination of the colors common to both the pixel and the inverse of the source. |
%Canvas_mix_NotCopySrc | Pixel is the inverse of the pen color. |
%Canvas_mix_MaskSrcNot | Pixel is a combination of the colors common to both the source and the inverse of the pixel. |
%Canvas_mix_Not | Pixel is the inverse of the pixel color. |
%Canvas_mix_XorSrc | Pixel is a combination of the colors in the source and in the pixel, but not in both. |
%Canvas_mix_NotMaskSrc | Pixel is the inverse of the MaskSrc color. |
%Canvas_mix_MaskSrc | Pixel is a combination of the colors common to both the source and the pixel. |
%Canvas_mix_NotXorSrc | Pixel is the inverse of the XorSrc color. |
%Canvas_mix_Nop | Pixel remains unchanged. |
%Canvas_mix_MergeNotSrc | Pixel is a combination of the source color and the inverse of the pixel color. |
%Canvas_mix_CopySrc | Pixel is the source color (default). |
%Canvas_mix_MergeSrcNot | Pixel is a combination of the source color and the inverse of the pixel color. |
%Canvas_mix_MergeSrc | Pixel is a combination of the source color and the pixel color. |
%Canvas_mix_Whiteness | Pixel is always 1 (white) |
|
Remarks
Restrictions
See also
Examples