/Users/lyon/j4p/src/graphics/dclap/QuickDrawFont.java

1    // graphics.dclap/quickdraw.java 
2    // Macintosh QuickDraw info for PICT data 
3    // d.gilbert, dec. 1996 
4     
5     
6    package graphics.dclap; 
7     
8    // pack edu.indiana.bio.graphics.dclap; 
9     
10   public class QuickDrawFont { 
11       int val; 
12       String name; 
13    
14       public QuickDrawFont(int v, String n) { 
15           val = v; 
16           name = n; 
17       } 
18    
19       int fontval(String n) { 
20           if (name.equalsIgnoreCase(n)) 
21               return val; 
22           else 
23               return -1; 
24       } 
25   } 
26    
27    
28