[Bug 142] New: drawImage() faulty

[email protected] Thu, 23 Jun 2005 06:48:31 -0400
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=142

           Summary: drawImage() faulty
           Product: SableVM
           Version: 1.11[.x]
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


When trying to draw a portion of an image with the following method:

g.drawImage(image, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, this );

sablevm does not draw the rectangle at the destination coordinates dx1 / dy1,
dx2, dy2.  Instead, it seems to add sx1, the x - offset from the source area, to
the destination x - coordinate. 
Thus, the draing appears to be displaced.
The coresponding program has been tested with jre 1.4.2 and does work there.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.