[BZ#553832] renders wrong when comp-op modifies target for source with 0% alpha
Submitted by Benjamin Otte (Company)
Link to original bug (#553832)
Description
Wow, that topic sounds complicated. Here's the sane version:
- Have a look at the attached SVG
- Remember that paths are drawn to their own surface and then cairo_paint()'ed to the final surface.
- Obviously, outside of the given path, the final rendering should not be affected.
- comp-op=src - or better: CAIRO_OPERATOR_SOURCE - however affects the whole image during cairo_paint() - it sets everything outside the path to transparent.
So pixels outside the rendered path are affected.