Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-665

Arcs with negative angles display incorrectly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: SVGGraphics2D
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: All

      Description

      Arcs drawn with drawArc or fillArc with negative angles are being rendered
      incorrectly. They look like the inverse arc (but curving inward). For example,
      drawArc(0, 0, 100, 100, -270, 0) produces an arc which curves inward in the
      upper-right quadrant. It should produce an arc which goes around everything put
      the upper-right qaudrant.

      I will attach the test file and SVG it produces.

        Attachments

        1. ArcTest.java
          1 kB
          Ian Burrell
        2. ArcTest.svg
          0.8 kB
          Ian Burrell

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              ianburrell@gmail.com Ian Burrell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: