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

Prism: Stroke to Path and SVGPath work differently.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0
    • fx1.3
    • javafx
    • mac-10.5.6 - soma - b09 - prism - ATI Radeon HD 2600 Pro

      Strokes applied to similar Paths and SVGPaths behave differently on prism pipeline.
      The snapshots for the same are attached.

      Also testcase to reproduce the scenario has been attached.
      To reproduce the bug, execute the attached test.
      - Use Left key, to increase the strokewidth (modulo 21)
      - Use Right key, to toggle between "Path" and "SVGPath".

      In case of swing pipeline, the behavior for strokes for above testcase is consistent and match the attached snapshot for SVGPath for both cases.

        1. pathStroked.png
          pathStroked.png
          11 kB
        2. pathVsSvgPath.fx
          5 kB
        3. svgPathStroked.png
          svgPathStroked.png
          10 kB
        4. debug.patch
          2 kB

            flar Jim Graham
            syechangujfx Srihari Yechangunja (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: