[multiple changes]

2003-09-25  Sascha Brawer  <brawer@dandelis.ch>

	* java/awt/font/FontRenderContext.java (getTransform): Return
	copy of internal transform object. Add Javadoc.
	* java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
	winding rule as Sun J2SE.
	* javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.

2003-09-25  Ingo Proetel  <proetel@aicas.com>

	* java/rmi/Naming.java:
	Added comments, now accepts pseudo protocol "rmi".

From-SVN: r71777
This commit is contained in:
Michael Koch 2003-09-25 14:38:02 +00:00
parent 029e256e27
commit bc7ac0d88b
5 changed files with 80 additions and 4 deletions

View file

@ -1,5 +1,5 @@
/* FontRenderContext.java
Copyright (C) 2002 Free Software Foundation, Inc.
Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@ -88,11 +88,22 @@ public class FontRenderContext
&& usesFractionalMetrics == rhs.usesFractionalMetrics ());
}
/**
* Retrieves the affine transform for scaling typographical points
* to raster pixels.
*
* @return a clone of the transform object.
*/
public AffineTransform getTransform ()
{
return affineTransform;
if (affineTransform == null)
return new AffineTransform ();
else
return new AffineTransform (affineTransform);
}
/**
* Returns the hash code of the font render context.
*/