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"
22 virtual SCM description () const;
23 virtual Box get_char (int ascii, bool warn) const;
24 virtual ~Font_metric ();
25 virtual Box text_dimension (String) const;
29 Font_metric (Font_metric const&); // no copy.
33 struct Scaled_font_metric : public Font_metric
38 Scaled_font_metric (Font_metric*, int);
39 virtual SCM description () const;
40 virtual Box text_dimension (String) const;
43 Font_metric * unsmob_metrics (SCM s);
46 #endif /* FONT_METRIC_HH */