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

Provide hint to control BasicStroke pixel adjustment

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.0
    • 1.2.0, 1.3.0
    • client-libs
    • None
    • 2d
    • kestrel
    • generic, x86, sparc
    • generic, solaris_2.6, windows_nt

      The BasicStroke object implements the Stroke interface which provides a way
      to express the widening of lines by creating a fillable stroke outline from
      a raw path geometry in user space.

      Unfortunately, there are practical considerations to be taken into account
      when rendering thin and wide lines that cannot be expressed by taking a
      user space coordinate path and returning another user space coordinate path.
      As a result, the internal application of BasicStroke attributes can differ
      from the theoretical result of performing the path widening in user space.
      Such internal behavior can not be controlled by programmers currently.

      This RFE requests a new RenderingHint to be created to allow the programmer
      to disable the subtle adjustments of paths during draw (i.e. Stroke) operations
      so that the rendered results more closely approximate the theoretical output
      of the BasicStroke object via its Stroke interface routines.

            flar Jim Graham
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: