gerbview: XOR mode is not working correctly
Description
As already described in ticket xxx, the XOR mode in gerbview is still not working properly.
Differential mode
Everything looks fine in differentiated mode
Layer 1 active
Layer 2 active
XOR mode
In XOR mode there are display errors if a layer with a smaller number is displayed than the layer with the difference.
Layer 1 active (With error, here I would expect the contour from layer 2, but in green color)
Layer 2 active
This topic #17282 (closed) has already been discussed here, but I see that there is no final solution.
Steps to reproduce
- Open gerbview
- Load the first layer (Number 1)
- Load the 2nd layer (Number 2) with a small change to the 1st layer
- Enable the XOR mode
- Enable the visibility from the first layer
KiCad Version
Version: 8.0.5, release build
Libraries:
wxWidgets 3.2.5
FreeType 2.13.2
HarfBuzz 9.0.0
FontConfig 2.14.2
libcurl/8.8.0-DEV Schannel zlib/1.3.1
Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: NVIDIA Corporation, NVIDIA GeForce GTX 1650/PCIe/SSE2, 4.6.0 NVIDIA 561.09
Build Info:
Date: Sep 7 2024 02:39:48
wxWidgets: 3.2.5 (wchar_t,wx containers)
Boost: 1.85.0
OCC: 7.8.1
Curl: 8.8.0-DEV
ngspice: 42
Compiler: Visual C++ 1939 without C++ ABI
Build settings:
Edited by Jan Wichmann



