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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • tbd
    • None
    • javafx

    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

              lbourges Laurent Bourg├Ęs
              flar Jim Graham
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: