kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #01378
Re: OSX: pcbnew with CORE_GRAPHICS.
-
To:
kicad-devel@xxxxxxxxxxxxxxx
-
From:
"emmedics4" <m.serantoni@...>
-
Date:
Tue, 01 Apr 2008 09:36:34 -0000
-
In-reply-to:
<47F1D428.1050803@...>
-
User-agent:
eGroups-EW/0.82
--- In kicad-devel@xxxxxxxxxxxxxxx, Dick Hollenbeck <dick@...> wrote:
> > On further investigation there is too much dependency in PCBNEW on the
> > GR_XOR and GR_OR modes. The path of least resistance is for you Mac
> > users to get someone to fix the wxMac for you, i.e. find out what
> > needs to be done to get wxOR mode working. And find out if wxXOR is
> > working or not and make it work if not.
I can confirm that wxCOPY,wxINVERT,wxXOR,wxOR_REVERSE,wxSRC_INVERT,wxAND are
correctly implemented with CG.
I have a proposal under:
Index: include/gr_basic.h
=======================================================
============
--- include/gr_basic.h (revision 961)
+++ include/gr_basic.h (working copy)
@@ -14,7 +14,12 @@
/* Constantes utiles */
#define GR_COPY 0
+#if defined(__WXMAC__) && wxMAC_USE_CORE_GRAPHICS
+#define GR_OR GR_COPY
+#else
#define GR_OR 0x01000000
+#endif
+
#define GR_XOR 0x02000000
#define GR_AND 0x04000000
#define GR_NXOR 0x08000000
References