[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-bugs
Subject:    [cairo-bugs] [Bug 42421] New: It looks like Clipping of cairo
From:       bugzilla-daemon () freedesktop ! org
Date:       2011-10-31 11:52:02
Message-ID: bug-42421-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

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

             Bug #: 42421
           Summary: It looks like Clipping of cairo doesn't work
                    correctly.
    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@cworth.org
        ReportedBy: seongwon79@hanafos.com
         QAContact: cairo-bugs@cairographics.org


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

Hi,

I make test app which it contains 4 clips and 1 path and call cairo_fill() on
cairo 1.11.3 (upstream latest)
Each clips may have different AA option and path has CAIRO_ANTIALIAS_DEFAULT.
In this scenario clipping doesn't work correctly.
If I change the AA of path to CAIRO_ANTIALIAS_NONE clipping works well.

As I analysis of cairo clip_and_composite_boxes() in cairo-spans-compositor.c
has problem. 
Even I set clip on application, composite_needs_clip() in composite_boxes()
returns FALSE and call scan converter without clip information.

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.
_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic