[cairo-bugs] [Bug 28760] New: Patterns created from surface lose alpha channel when set EXTEND_REFLECT

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 25 14:28:08 PDT 2010


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

           Summary: Patterns created from surface lose alpha channel when
                    set EXTEND_REFLECT
           Product: cairo
           Version: 1.8.8
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: b7.10110111 at gmail.com
         QAContact: cairo-bugs at cairographics.org


Created an attachment (id=36502)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=36502)
Test case

Setting CAIRO_EXTEND_REFLECT on a pattern created via
cairo_pattern_create_for_surface() results in loss of alpha channel. See the
test attached - top left quadrant of the window is painted using
CAIRO_EXTEND_REFLECT. One would expect the same background as with other extend
modes, but it is black instead. Some experimenting shows that the pattern is
blended with black instead of being blended with target surface background, not
just loses the alpha channel.

-- 
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