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

Arcs with negative angles display incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.6
    • None
    • SVGGraphics2D
    • None
    • 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.svg
          0.8 kB
          Ian Burrell
        2. ArcTest.java
          1 kB
          Ian Burrell

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: