]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/font-metric.hh
release: 1.1.62
[lilypond.git] / lily / include / font-metric.hh
1 /*   
2   font-metric.hh -- declare Font_metric
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef FONT_METRIC_HH
11 #define FONT_METRIC_HH
12
13 #include "box.hh"
14 /*
15   sigh.  
16
17   signature -> Internal compiler error
18 */
19
20 struct Character_metric
21 {
22   virtual Box dimensions () const=0;
23   virtual ~Character_metric () {}
24 };
25
26 struct Font_metric
27 {
28   virtual Character_metric const *get_char (int ascii, bool warn) const=0;
29   virtual ~Font_metric () {}
30 };
31
32
33
34
35 #endif /* FONT_METRIC_HH */
36