mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-06-03 17:28:18 +02:00
[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.
This commit is contained in:
parent
c9ec82f3a8
commit
8c0ff8b585
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue