2 font-metric.hh -- declare Font_metric
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2004 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 Offset get_indexed_wxwy (int) const;
27 virtual Box get_indexed_char (int index) const;
28 virtual Box get_ascii_char (int ascii) const;
29 virtual Box text_dimension (String) const;
30 virtual int name_to_index (String) const;
32 virtual Stencil find_by_name (String) const;
33 virtual Stencil get_indexed_char_stencil (int k) const;
34 virtual Stencil get_ascii_char_stencil (int k) const;
36 DECLARE_SMOBS (Font_metric,);
38 Font_metric (Font_metric const&); // no copy.
40 virtual void derived_mark () const;
45 DECLARE_UNSMOB(Font_metric, metrics);
47 #endif /* FONT_METRIC_HH */