]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/book-paper-def.hh
* lily/book-paper-def.cc (Book_paper_def): add copy ctor.
[lilypond.git] / lily / include / book-paper-def.hh
1 /*
2   book-paper-def.hh -- declare Book_paper_def
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 2004  Jan Nieuwenhuizen <janneke@gnu.org>
7 */
8
9 #ifndef BOOK_PAPER_DEF_HH
10 #define BOOK_PAPER_DEF_HH
11
12 #include "lily-proto.hh"
13 #include "smobs.hh"
14 #include "virtual-methods.hh"
15
16 class Book_paper_def
17 {
18   DECLARE_SMOBS (Book_paper_def, Music_output_def);
19
20 public:
21   VIRTUAL_COPY_CONSTRUCTOR (Book_paper_def, Book_paper_def);
22   Book_paper_def(Book_paper_def const &);
23   SCM scope_;
24   SCM scaled_fonts_;
25   Real output_scale_;
26
27   Book_paper_def ();
28
29   Font_metric *find_scaled_font (Font_metric *f, Real m, SCM input_enc_name);
30   Paper_def *scale_paper (Paper_def *pd) const;
31 };
32 DECLARE_UNSMOB (Book_paper_def, book_paper_def);
33
34 #endif /* BOOK_PAPER_DEF_HH */