2 font-metric.hh -- declare Font_metric
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef FONT_METRIC_HH
11 #define FONT_METRIC_HH
14 #include "lily-guile.hh"
16 struct Character_metric
18 virtual Box dimensions () const;
19 virtual ~Character_metric ();
25 virtual SCM description () const;
26 virtual Character_metric const *get_char (int ascii, bool warn) const;
27 virtual ~Font_metric ();
28 virtual Box text_dimension (String) const;
32 struct Scaled_font_metric : public Font_metric
37 Scaled_font_metric (Font_metric*, int);
38 virtual SCM description () const;
39 virtual Box text_dimension (String) const;
43 #endif /* FONT_METRIC_HH */