bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/22938] java.awt.BasicStroke.createStrokedShape is a silent stub


From: pere at hungry dot com
Subject: [Bug awt/22938] java.awt.BasicStroke.createStrokedShape is a silent stub
Date: 20 May 2006 21:40:21 -0000


------- Comment #5 from pere at hungry dot com  2006-05-20 21:40 -------
The code currently look like this in CVS.  The comment claim it is not
implemented, while the code seem to do something.  Is it implemented or not?
If it isn't implemented, it should be tagged with NotImplementedException,
if it is, the comment should be removed.

  /**
   * Creates a shape representing the stroked outline of the given shape.
   * THIS METHOD IS NOT YET IMPLEMENTED.
   *
   * @param s  the shape.
   */
  public Shape createStrokedShape(Shape s)
  {
    PathIterator pi = s.getPathIterator( new AffineTransform() );

    if( dash == null )
      return solidStroke( pi );

    return dashedStroke( pi );
  }


-- 

pere at hungry dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pere at hungry dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22938





reply via email to

[Prev in Thread] Current Thread [Next in Thread]