mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-04 21:08:10 +02:00
polygon-intersection: Do not discard intersection exactly at top edge
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=74779 Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
b9ada81995
commit
9f2bbfa41f
1 changed files with 1 additions and 1 deletions
|
|
@ -728,7 +728,7 @@ _cairo_bo_edge_contains_intersect_point (cairo_bo_edge_t *edge,
|
|||
|
||||
top_x = _line_compute_intersection_x_for_y (&edge->edge.line,
|
||||
edge->edge.top);
|
||||
return _cairo_bo_intersect_ordinate_32_compare (point->x, top_x) > 0;
|
||||
return _cairo_bo_intersect_ordinate_32_compare (point->x, top_x) >= 0;
|
||||
} else { /* cmp_bottom == 0 */
|
||||
cairo_fixed_t bot_x;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue