source file of the GNU LilyPond music typesetter
- (c) 1996--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1996--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
class Paper_def : public Music_output_def
{
protected:
- VIRTUAL_COPY_CONS (Music_output_def);
-
-public:
- Paper_outputter* get_paper_outputter () ;
-
- SCM font_descriptions ()const;
- virtual ~Paper_def ();
+ VIRTUAL_COPY_CONSTRUCTOR (Music_output_def, Paper_def);
+
+public:
+ Book_paper_def * bookpaper_;
static int score_count_;
- /*
- JUNKME
- */
- Real get_realvar (SCM symbol) const;
- Real get_var (String id) const;
- SCM get_scmvar (String id)const;
- SCM get_scmvar_scm (SCM sym) const;
- void reinit ();
Paper_def ();
Paper_def (Paper_def const&);
-
+ virtual ~Paper_def ();
+ virtual void derived_mark ();
+
+ Paper_outputter* get_paper_outputter (String) const;
+ SCM font_descriptions () const;
+ void reinit ();
Interval line_dimensions_int (int) const;
-
- virtual int get_next_score_count () const;
- static void reset_score_count ();
void output_settings (Paper_outputter*) const;
-
- Font_metric * find_font (SCM name, Real mag);
+ Font_metric *find_scaled_font (Font_metric *fm, Real mag, SCM enc_name);
+ Real get_dimension (SCM symbol) const;
- // urg
friend int yyparse (void*);
};
-#endif // Paper_def_HH
+Paper_def * unsmob_paper (SCM x);
+Font_metric *select_encoded_font (Paper_def *paper, SCM input_encoding, SCM chain);
+Font_metric *select_font (Paper_def *paper, SCM chain);
+
+#endif /* PAPER_DEF_HH */