ATTR_PEN_MODE
Type: | Control attribute |
Description: | Determines the effect of drawing with the pen color (or pen fill color), given the current color on the screen. With the default setting, VAL_COPY_MODE, the current screen color is replaced with the pen color (or pen fill color). The other settings specify bitwise logical operations on pen color (or pen fill color) and the screen color. Note: If a system color palette is in use, the logical operations might be performed on the palette indices rather than the RGB values, depending on the operating system. |
Control Types: | Canvases. |
Data Type: | integer |
Default Value: | VAL_COPY_MODE |
LabWindows/CVI Compatibility: |
LabWindows/CVI 4.0 and later |
Values
VAL_COPY_MODE | pen color |
VAL_OR_MODE | pen color | screen color |
VAL_XOR_MODE | pen color ^ screen color |
VAL_AND_NOT_MODE | ~(pen color) & screen color |
VAL_NOT_COPY_MODE | ~(pen color) |
VAL_OR_NOT_MODE | ~(pen color) | screen color |
VAL_NOT_XOR_MODE | ~(pen color ^ screen color) |
VAL_AND_MODE | pen color & screen color |