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"
17 struct Character_metric
19 virtual Box dimensions () const;
20 virtual ~Character_metric ();
27 virtual SCM description () const;
28 virtual Character_metric const *get_char (int ascii, bool warn) const;
29 virtual ~Font_metric ();
30 virtual Box text_dimension (String) const;
34 Font_metric (Font_metric const&); // no copy.
38 struct Scaled_font_metric : public Font_metric
43 Scaled_font_metric (Font_metric*, int);
44 virtual SCM description () const;
45 virtual Box text_dimension (String) const;
49 #endif /* FONT_METRIC_HH */