src/Tools/GraphBrowser/graphbrowser/AbstractFontMetrics.java
author wenzelm
Fri, 04 Mar 2022 22:53:49 +0100
changeset 75214 a51a0a704854
parent 74015 12b1f4649ab1
permissions -rw-r--r--
build component for VSCodium (cross-compiled from sources for all platforms);

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

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

package isabelle.graphbrowser;

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