lib/browser/GraphBrowser/AbstractFontMetrics.java
author blanchet
Wed, 04 Aug 2010 23:27:27 +0200
changeset 38195 a8cef06e0480
parent 33686 8e33ca8832b1
permissions -rw-r--r--
Cycle breaking in the bounds takes care of singly recursive datatypes, so we don't need to do it again; the effect of removing the constraint varies on problem to problem, but it tends to be overwhelmingly negative in conjuction with the new datatype sym breaking stuff at high cardinalities

/***************************************************************************
  Title:      GraphBrowser/AWTFontMetrics.java
  Author:     Gerwin Klein, TU Muenchen

  AbstractFontMetrics avoids dependency on java.awt.FontMetrics in 
  batch mode.
  
***************************************************************************/

package GraphBrowser;

public interface AbstractFontMetrics {
  public int stringWidth(String str);
  public int getAscent();
  public int getDescent();
}