[cairo-bugs] [Bug 42422] New: When I use clip with mixed AA option cairo_fill() works incorrectly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 31 04:58:37 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=42422

             Bug #: 42422
           Summary: When I use clip with mixed AA option cairo_fill()
                    works incorrectly
    Classification: Unclassified
           Product: cairo
           Version: 1.10.3
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: image backend
        AssignedTo: cworth at cworth.org
        ReportedBy: seongwon79 at hanafos.com
         QAContact: cairo-bugs at cairographics.org


Created attachment 52944
  --> https://bugs.freedesktop.org/attachment.cgi?id=52944
test code and result files

Hi,

I make test app which it contains 3 clips and 1 path and call cairo_fill() on
cairo 1.11.3 (upstream latest)
I set each clip's AA option differently and call cairo_fill() with
CAIRO_ANTIALIAS_NONE.
The result of cairo_fill() is not what I expected.
If I set all clip's AA option to same(DEFAULT or NONE) cairo_fill() looks
working correctly.

I think composite_aligned_boxes() in cairo-spans-compositor.c has some problem.

I attached test code with png files

Thanks.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the cairo-bugs mailing list