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

Comments in Stroker.computeOffsetQuad don't make sense (all 3 FX rasterizers)

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: tbd_major
    • Component/s: javafx
    • Labels:

      Description

      The comments in the com.sun.openpisces.Stroker.computeOffsetQuad() method talk about analyzing 4 points, but a quad only has 3 points. They appear to have been copied from the Cubic() version of the same method without adjusting them for the new analysis of the 3 points in a quad.

      Those same comments were copied to the native Pisces rasterizer in Stroker.c.

      The same comments were also copied to the Marlin version of the file in com.sun.marlin.Stroker.computeOffsetQuad().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lbourges Laurent Bourgès
                Reporter:
                flar Jim Graham
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: