2 font-metric.hh -- declare Font_metric
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef FONT_METRIC_HH
11 #define FONT_METRIC_HH
14 #include "lily-guile.hh"
16 #include "lily-proto.hh"
25 virtual int count () const;
26 virtual Box get_char (int ascii) const;
27 virtual Molecule get_char_molecule (int ascii) const;
28 virtual Box text_dimension (String) const;
29 virtual Molecule find_by_name (String) const;
30 DECLARE_SMOBS (Font_metric,);
32 Font_metric (Font_metric const&); // no copy.
34 virtual void derived_mark () const;
39 DECLARE_UNSMOB(Font_metric, metrics);
41 #endif /* FONT_METRIC_HH */