mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 07:38:22 +02:00
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:
parent
f4b2ce1c78
commit
a8763d8fde
1 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue