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

drawArc() and fillArc() with arcAngle > 360 only display difference on Win32

    XMLWordPrintable

Details

    • 1.0.2
    • x86
    • windows_nt
    • Verified

    Description

      java.awt.Graphics.drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)
      and java.awt.Graphics.fillArc(int x, int y, int width, int height, int start,Angle int arcAngle)
      behave differently on Win32 than on Solaris. On Solaris an arcAngle > 360 wraps around
      the entire arc, on Win32 it just draws an arc that starts at 0 and goes to arcAngle - 360.
      Same problem on values of arcAngle < -360.

      Win 32 should be the same as Solaris.

      Found by hagen.

      Steps to reproduce
      Run ArcTest demo
      Enter a value for E > 360
      Press <Fill>

      Attachments

        Activity

          People

            flar Jim Graham
            kasmithsunw Kevin Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: