diff options
author | Andrea Canciani <ranma42@gmail.com> | 2010-10-17 11:38:23 +0200 |
---|---|---|
committer | Andrea Canciani <ranma42@gmail.com> | 2010-10-29 17:31:21 +0200 |
commit | a8763d8fdeeb16323b8641e168475f77d73908a3 (patch) | |
tree | 77f868f686b691b727a60c83667bb1d7e48bf7f4 /src/cairo-path-fixed.c | |
parent | f4b2ce1c78c05c0a551aab7c84451c7ee1759213 (diff) |
path: Make path equality independent of flags
Flags for the same path can be different depending on its "history"
(in particular if it was constructed and transformed they might be
different from what they would be if each point was transformed and
then the path constructed).
Diffstat (limited to 'src/cairo-path-fixed.c')
-rw-r--r-- | src/cairo-path-fixed.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cairo-path-fixed.c b/src/cairo-path-fixed.c index 96dd0eb14..a0e04ac0f 100644 --- a/src/cairo-path-fixed.c +++ b/src/cairo-path-fixed.c @@ -233,10 +233,7 @@ _cairo_path_fixed_equal (const cairo_path_fixed_t *a, return TRUE; /* use the flags to quickly differentiate based on contents */ - if (a->is_empty_fill != b->is_empty_fill || - a->has_curve_to != b->has_curve_to || - a->maybe_fill_region != b->maybe_fill_region || - a->is_rectilinear != b->is_rectilinear) + if (a->has_curve_to != b->has_curve_to) { return FALSE; } |