bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/27844] New: Graphics2D.drawLine(x, y, x, y) should draw a sing


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug awt/27844] New: Graphics2D.drawLine(x, y, x, y) should draw a single pixel
Date: 31 May 2006 18:15:53 -0000

The reference implementation provides no special method to draw a single pixel.
Instead, Graphics.drawLine(x,y,x,y) can be used to draw a single pixel in the
current foreground color. This also works for Graphics2D (at least when using
integer coordinates and a corresponding AffineTransform).

The current implementation of classpath does not handle this special case;
checked with classpath cvs 2006.05.31. See the attached testcase for a simple
demonstration.

Best, Norman


-- 
           Summary: Graphics2D.drawLine(x,y,x,y) should draw a single pixel
           Product: classpath
           Version: 0.92
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: awt
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27844





reply via email to

[Prev in Thread] Current Thread [Next in Thread]