Author: spouliot
Date: 2006-05-15 16:51:18 -0400 (Mon, 15 May 2006)
New Revision: 60724
Modified:
trunk/libgdiplus/src/pen.c
Log:
also catch the 'thin' line mode down to 0
Modified: trunk/libgdiplus/src/pen.c
===================================================================
--- trunk/libgdiplus/src/pen.c 2006-05-15 20:30:00 UTC (rev 60723)
+++ trunk/libgdiplus/src/pen.c 2006-05-15 20:51:18 UTC (rev 60724)
@@ -93,7 +93,7 @@
* on par with GDI+
*/
case LineCapFlat:
- if (pen->dash_array || (pen->width != 1.0))
+ if (pen->dash_array || (pen->width <= 1.0))
return CAIRO_LINE_CAP_BUTT;
else
return CAIRO_LINE_CAP_SQUARE;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches