Added theorems setsum_reindex_nonzero, setsum_mono_zero_left, setsum_mono_zero_right, setsum_mono_zero_cong_left, setsum_mono_zero_cong_right, setsum_delta, strong_setprod_reindex_cong, setprod_delta
/***************************************************************************
Title: GraphBrowser/AWTFontMetrics.java
ID: $Id$
Author: Gerwin Klein, TU Muenchen
Copyright 2003 TU Muenchen
AbstractFontMetrics from the AWT for graphics mode.
***************************************************************************/
package GraphBrowser;
import java.awt.FontMetrics;
public class AWTFontMetrics implements AbstractFontMetrics {
private FontMetrics fontMetrics;
public AWTFontMetrics(FontMetrics m) {
fontMetrics = m;
}
public int stringWidth(String str) {
return fontMetrics.stringWidth(str);
}
public int getAscent() {
return fontMetrics.getAscent();
}
public int getDescent() {
return fontMetrics.getDescent();
}
}