diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-10-16 23:57:06 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2010-10-29 17:31:21 +0200 |
commit | e9c1fc31887c5bfbb7d086f923a7628b7cfa739c (patch) | |
tree | eb09b160574905223235f4efb45e0e165689946a /src/cairo-path-in-fill.c | |
parent | 14cc9846b302a990e65d7572e7f095a8873a213d (diff) | |
download | cairo-e9c1fc31887c5bfbb7d086f923a7628b7cfa739c.tar.gz |
path: Do not access flags directly
Use inline accessors to hide the flags in the code.
This ensures that flags that need additional computations (example:
is_rectilinear for the fill case) are always used correctly.
Diffstat (limited to 'src/cairo-path-in-fill.c')
-rw-r--r-- | src/cairo-path-in-fill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-path-in-fill.c b/src/cairo-path-in-fill.c index b344f529d..a19784c92 100644 --- a/src/cairo-path-in-fill.c +++ b/src/cairo-path-in-fill.c @@ -254,7 +254,7 @@ _cairo_path_fixed_in_fill (const cairo_path_fixed_t *path, cairo_status_t status; cairo_bool_t is_inside; - if (path->is_empty_fill) + if (_cairo_path_fixed_fill_is_empty (path)) return FALSE; _cairo_in_fill_init (&in_fill, tolerance, x, y); |