[Mono-bugs] [Bug 496892] New: TextureBrush works incorrectly with WrapMode.TileFlip*

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 21 10:07:12 EDT 2009


           Summary: TextureBrush works incorrectly with WrapMode.TileFlip*
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: libgdiplus
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: alexander.shulgin at yessoftware.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=287135)
 --> (http://bugzilla.novell.com/attachment.cgi?id=287135)
Demo application with sample tiles, current results and expected results (after
applying the patch).

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
Gecko/2009032711 Ubuntu/8.10 (intrepid) Firefox/3.0.8

The TextureBrush produces wrong results when used in e.g.
Graphics.FillRectangle.  There's some artifacts at the boundaries of 2n*width,
2m*height rectangles.

Attached demo application demonstrates the problem.

Reproducible: Always

Steps to Reproduce:
1. Compile demo application with

sh compile.sh

2. Run demo application with

mono a.exe

Actual Results:  
The images created contain invalid result of filling with texture brush.

Expected Results:  
Images should contain correct result of filling with corresponding texture

This is introduced somewhere around 2004 in the following commit:


Probably it worked with then-current-version of cairo, but it's broken now (at
least with libcairo2-1.8.0-0ubuntu1).

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list