mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1029919: Properly do the required composite for unbounded operators even when the fill doesn't intersect the extents. r=jrmuizel
This commit is contained in:
parent
affcd9024b
commit
3002add78f
@ -3565,9 +3565,11 @@ _clip_and_composite_polygon (cairo_image_surface_t *dst,
|
||||
return status;
|
||||
}
|
||||
|
||||
_cairo_box_round_to_rectangle (&polygon->extents, &extents->mask);
|
||||
if (! _cairo_rectangle_intersect (&extents->bounded, &extents->mask))
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
if (_cairo_operator_bounded_by_mask(op)) {
|
||||
_cairo_box_round_to_rectangle (&polygon->extents, &extents->mask);
|
||||
if (! _cairo_rectangle_intersect (&extents->bounded, &extents->mask))
|
||||
return CAIRO_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (antialias != CAIRO_ANTIALIAS_NONE) {
|
||||
composite_spans_info_t info;
|
||||
|
Loading…
Reference in New Issue
Block a user