*** empty log message ***
[lilypond.git] / lily / include / scaled-font-metric.hh
blob9bf35f619d179448aa1f400474584da86c52ba57
1 /*
2 scaled-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>
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_;
27 Real magnification_;
29 Scaled_font_metric (Font_metric*,Real);
31 #endif