[Mono-bugs] [Bug 376855] New: DrawImage messes up translate matrix

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 3 12:45:22 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=376855


           Summary: DrawImage messes up translate matrix
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: libgdiplus
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jpobst at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=206099)
 --> (https://bugzilla.novell.com/attachment.cgi?id=206099)
Test Case

If I use the following pattern:

Graphics.TranslateTransform ()
Graphics.DrawImage (...)
Graphics.DrawString (...)

The DrawString is not translated.  Something in the DrawImage is messing up my
translate, but if I check Graphics.Transform.OffsetX/Y, they are reporting the
correct value.  If I reverse the calls and draw the string first, then the
image, it works as expected.

Test case attached.


-- 
Configure bugmail: https://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