OLD | NEW |
1 /* | 1 /* |
2 This file is part of LilyPond, the GNU music typesetter. | 2 This file is part of LilyPond, the GNU music typesetter. |
3 | 3 |
4 Copyright (C) 1997--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
6 LilyPond is free software: you can redistribute it and/or modify | 6 LilyPond is free software: you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation, either version 3 of the License, or | 8 the Free Software Foundation, either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 one coming from score at markup level) | 46 one coming from score at markup level) |
47 ·· | 47 ·· |
48 */ | 48 */ |
49 class Output_def : public Smob<Output_def> | 49 class Output_def : public Smob<Output_def> |
50 { | 50 { |
51 public: | 51 public: |
52 int print_smob (SCM, scm_print_state *) const; | 52 int print_smob (SCM, scm_print_state *) const; |
53 SCM mark_smob () const; | 53 SCM mark_smob () const; |
54 static const char * const type_p_name_; | 54 static const char * const type_p_name_; |
55 virtual ~Output_def (); | 55 virtual ~Output_def (); |
56 VIRTUAL_COPY_CONSTRUCTOR (Output_def, Output_def); | 56 VIRTUAL_CLASS_NAME (Output_def); |
| 57 virtual Output_def *clone () const { return new Output_def (*this); } |
57 | 58 |
58 SCM scope_; | 59 SCM scope_; |
59 Output_def *parent_; | 60 Output_def *parent_; |
60 ·· | 61 ·· |
61 Input input_origin_; | 62 Input input_origin_; |
62 | 63 |
63 Output_def (Output_def const&); | 64 Output_def (Output_def const&); |
64 Output_def (); | 65 Output_def (); |
65 | 66 |
66 /* | 67 /* |
(...skipping 18 matching lines...) Expand all Loading... |
85 | 86 |
86 | 87 |
87 Font_metric* find_pango_font (Output_def *layout, SCM descr, Real factor); | 88 Font_metric* find_pango_font (Output_def *layout, SCM descr, Real factor); |
88 Font_metric *find_scaled_font (Output_def *od, Font_metric *f, | 89 Font_metric *find_scaled_font (Output_def *od, Font_metric *f, |
89 Real magnification); | 90 Real magnification); |
90 Output_def *scale_output_def (Output_def *def, Real scale); | 91 Output_def *scale_output_def (Output_def *def, Real scale); |
91 | 92 |
92 Real output_scale (Output_def*); | 93 Real output_scale (Output_def*); |
93 | 94 |
94 #endif /* OUTPUT_DEF_HH */ | 95 #endif /* OUTPUT_DEF_HH */ |
OLD | NEW |