This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
xor_mode [2015/03/25 12:13] – created ba | xor_mode [2015/03/25 12:15] – ba | ||
---|---|---|---|
Line 11: | Line 11: | ||
* rectangle ZB.lcd.draw.rectangle.vi | * rectangle ZB.lcd.draw.rectangle.vi | ||
- | When a color different to the default value is wired to the bg color terminal the line will be drawn in XOR mode. The point or line will be drawn in the desired color as long as the pixel that will be overwritten maches the given bg color. When the line is drawn twice withe the same settings, it will disappear. | + | When a color different to the default value 1) is wired to the bg color terminal the line will be drawn in XOR mode. The point or line will be drawn in the desired color as long as the pixel that will be overwritten maches the given bg color. When the line is drawn twice withe the same settings, it will disappear. |
+ | |||
+ | 1) | ||
The color value to disable the XOR mode is 1. | The color value to disable the XOR mode is 1. | ||
You can edit the value of a color constant by clicking on it and then clicking on the palette symbol of the lower right corner of the dialog that appears. | You can edit the value of a color constant by clicking on it and then clicking on the palette symbol of the lower right corner of the dialog that appears. | ||
If you enter 0 for the red and the green value and 1 for the blue value you get constant needed to disable the XOR mode.\\ | If you enter 0 for the red and the green value and 1 for the blue value you get constant needed to disable the XOR mode.\\ | ||
- | {{: | + | {{: |
+ | please note, that the default value for the draw point vi is 0 and not 1 therefore XOR mode is not disabled when the control is left open or wired with the default value. | ||