equal
deleted
inserted
replaced
|
1 /*************************************************************************** |
|
2 Title: GraphBrowser/AWTFontMetrics.java |
|
3 ID: $Id$ |
|
4 Author: Gerwin Klein, TU Muenchen |
|
5 Copyright 2003 TU Muenchen |
|
6 License: GPL (GNU GENERAL PUBLIC LICENSE) |
|
7 |
|
8 AbstractFontMetrics avoids dependency on java.awt.FontMetrics in |
|
9 batch mode. |
|
10 |
|
11 ***************************************************************************/ |
|
12 |
1 package GraphBrowser; |
13 package GraphBrowser; |
2 |
14 |
3 public interface AbstractFontMetrics { |
15 public interface AbstractFontMetrics { |
4 |
|
5 public int stringWidth(String str); |
16 public int stringWidth(String str); |
6 public int getAscent(); |
17 public int getAscent(); |
7 public int getDescent(); |
18 public int getDescent(); |
8 |
|
9 } |
19 } |