lilypond-1.5.10
[lilypond.git] / lily / include / scaled-font-metric.hh
blob4f7ca65fbc1cb56f3bbdce926c0be09545f7c8cf
1 /*
2 scaled-font-metric.hh -- declare Font_metric
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
10 #ifndef SCALED_FONT_METRIC_HH
11 #define SCALED_FONT_METRIC_HH
13 #include "font-metric.hh"
16 Perhaps junk this, and move this to paper_def as interface?
18 struct Scaled_font_metric : public Font_metric
20 virtual Box text_dimension (String) const;
21 virtual Molecule find_by_name (String) const;
22 static SCM make_scaled_font_metric (Font_metric*, Real);
23 virtual int count () const;
24 protected:
25 virtual Box get_char (int)const;
26 Font_metric *orig_l_;
27 Real magnification_f_;
29 Scaled_font_metric (Font_metric*,Real);
31 #endif