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).
This commit is contained in:
Andrea Canciani 2010-10-17 11:38:23 +02:00
parent f4b2ce1c78
commit a8763d8fde

View file

@ -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;
}