From 8c0ff8b5856a8a7cb61dffaad7d72ed2dcdb5cf3 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 24 Sep 2008 17:03:49 +0100 Subject: [PATCH] [cairo] Define min-tolerance in terms of cairo_fixed_t By using the cairo_fixed_t macros we can compute the correct minimum tolerance for any configuration. --- src/cairo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cairo.c b/src/cairo.c index 525d1f9e1..cdfefa023 100644 --- a/src/cairo.c +++ b/src/cairo.c @@ -42,7 +42,7 @@ #include "cairo-arc-private.h" #include "cairo-path-private.h" -#define CAIRO_TOLERANCE_MINIMUM 0.0002 /* We're limited by 16 bits of sub-pixel precision */ +#define CAIRO_TOLERANCE_MINIMUM _cairo_fixed_to_double(1) static const cairo_t _cairo_nil = { CAIRO_REFERENCE_COUNT_INVALID, /* ref_count */