JDK-4152595 : 2D API does not use GDI PolyPolyline routine to accelerate rendering on win32
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: solaris_2.5.1
  • CPU: sparc
  • Submitted: 1998-06-25
  • Updated: 1998-07-22
  • Resolved: 1998-07-22
Related Reports
Relates :  
Description
The 2D API lets the developer specify a single path with multiple disconnected
subpaths.  When rendering such a path via GDI, the implementation will try
to construct a single polygon out of all of the subpaths by inserting
segments between the subpaths that enclose no area to connect them.

This step, while necessary to use X11 to accelerate rendering, is unnecessary
when using GDI since it has a PolyPolyline rendering method.

Comments
EVALUATION Fixing this bug simply requires reimplementing the WGraphics.fillPolys() and drawPolys() methods with native methods... jim.graham@Eng 1998-06-25 Same than 4152600. In case of strocked lines, no advantage.
25-06-1998