← Back to team overview

kicad-developers team mailing list archive

Re: OSX: pcbnew with CORE_GRAPHICS.


> It might be possible to get to a very functional pcbnew with just the 
> GR_COPY support if we also added the "draw current layer last" support 
> that was discussed here recently. Then to see objects clearest, you 
> would simply select the layer that they are on. 
> Would we also have to get rid of any GR_XOR mode support too? Please 
> test that as well.
I've done a test and looks that:
printf("GR_OR: %u wxOR %u\n",GR_OR,wxOR);
GR_OR: 16777216 wxOR 14 

So I've got something better and i think more than acceptable:

Index: tracepcb.cpp
--- tracepcb.cpp	(revision 958)
+++ tracepcb.cpp	(working copy)
@@ -85,7 +85,7 @@
DrawPanel->DrawBackGround( DC );
- Trace_Pcb( DC, GR_OR );
+ Trace_Pcb( DC, wxOR );
TraceWorkSheet( DC, GetScreen(), 0 );

Follow ups