use the same code for GDK_XOR as for GDK_INVERT. Xor with an arbitrary
2007-06-07 Michael Natterer <mitch@imendio.com> * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context): use the same code for GDK_XOR as for GDK_INVERT. Xor with an arbitrary color is impossible to implement with quartz. svn path=/trunk/; revision=18077
This commit is contained in:
parent
8210544708
commit
88a05af64f
@ -1,3 +1,9 @@
|
||||
2007-06-07 Michael Natterer <mitch@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
|
||||
use the same code for GDK_XOR as for GDK_INVERT. Xor with an
|
||||
arbitrary color is impossible to implement with quartz.
|
||||
|
||||
2007-06-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtksettings.c: Fix a typo in the docs.
|
||||
|
@ -410,15 +410,12 @@ _gdk_quartz_gc_update_cg_context (GdkGC *gc,
|
||||
break;
|
||||
|
||||
case GDK_INVERT:
|
||||
case GDK_XOR:
|
||||
blend_mode = kCGBlendModeExclusion;
|
||||
fg_pixel = 0xffffffff;
|
||||
bg_pixel = 0xffffffff;
|
||||
break;
|
||||
|
||||
case GDK_XOR:
|
||||
blend_mode = kCGBlendModeExclusion;
|
||||
break;
|
||||
|
||||
case GDK_CLEAR:
|
||||
case GDK_AND:
|
||||
case GDK_AND_REVERSE:
|
||||
|
Loading…
Reference in New Issue
Block a user