Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fix pen adjustment on apple.

  • Loading branch information...
commit b2fd6394f5604f2f6de66f07935b64ed575af48c 1 parent c87ffeb
@kumpera kumpera authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/graphics-cairo-private.h
6 src/graphics-cairo-private.h
@@ -41,8 +41,14 @@
* Handling of pens with a width greater than 1 is not identical between GDI+ and Cairo
+ *
+ * On apple pen adjustment is not required or tons of tests senstive to this break.
+#ifdef __APPLE__
+#define gdip_cairo_pen_width_needs_adjustment(pen) (0)
#define gdip_cairo_pen_width_needs_adjustment(pen) (((int)(pen->width) & 1) == 0)
cairo_fill_rule_t gdip_convert_fill_mode (FillMode fill_mode) GDIP_INTERNAL;
GpStatus gdip_plot_path (GpGraphics *graphics, GpPath *path, BOOL antialiasing) GDIP_INTERNAL;
Please sign in to comment.
Something went wrong with that request. Please try again.