Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
parent
c648dedbde
commit
97b8365caf
17478 changed files with 606493 additions and 100744 deletions
|
@ -117,8 +117,12 @@ public class FontRenderContext
|
|||
*/
|
||||
public int hashCode ()
|
||||
{
|
||||
// FIXME: check what SUN does here.
|
||||
return affineTransform == null ? 0 : affineTransform.hashCode ();
|
||||
int code = ( isAntiAliased ? 1 : 0 ) + ( usesFractionalMetrics ? 2 : 0 );
|
||||
|
||||
if( affineTransform != null && !affineTransform.isIdentity() )
|
||||
code ^= affineTransform.hashCode();
|
||||
|
||||
return code;
|
||||
}
|
||||
|
||||
public boolean isAntiAliased ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue