Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1251825

Implementation of java.awt.Graphics.drawRect is incorrect

XMLWordPrintable

    • 1.1
    • sparc
    • generic
    • Not verified

      The implementation of drawRect in java.awt.Graphics draws the endpoints
      twice. This results in incorrect results in xor drawing mode.

      My guess is that all the native implementations of awt override this method
      so that no-one ever notices, but it's still not pleasant.
      [a 22 May 96]

            flar Jim Graham
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: