LEFT | RIGHT |
(no file at all) | |
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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 "@code{NonMusicalPaperColumn}.\n" | 256 "@code{NonMusicalPaperColumn}.\n" |
257 "Draws the @code{rank number} of each column," | 257 "Draws the @code{rank number} of each column," |
258 " its moment in time, a blue arrow showing the" | 258 " its moment in time, a blue arrow showing the" |
259 " ideal distance, and a red arrow showing the" | 259 " ideal distance, and a red arrow showing the" |
260 " minimum distance between columns."); | 260 " minimum distance between columns."); |
261 SCM | 261 SCM |
262 Paper_column::print (SCM p) | 262 Paper_column::print (SCM p) |
263 { | 263 { |
264 Paper_column *me = unsmob<Paper_column> (p); | 264 Paper_column *me = unsmob<Paper_column> (p); |
265 | 265 |
266 string r = ::to_string (me->get_rank ()); | 266 string r = std::to_string (me->get_rank ()); |
267 | 267 |
268 Moment *mom = unsmob<Moment> (me->get_property ("when")); | 268 Moment *mom = unsmob<Moment> (me->get_property ("when")); |
269 string when = mom ? mom->to_string () : "?/?"; | 269 string when = mom ? mom->to_string () : "?/?"; |
270 | 270 |
271 Font_metric *musfont = Font_interface::get_default_font (me); | 271 Font_metric *musfont = Font_interface::get_default_font (me); |
272 SCM properties = Font_interface::text_font_alist_chain (me); | 272 SCM properties = Font_interface::text_font_alist_chain (me); |
273 SCM scm_mol = Text_interface::interpret_markup (me->layout ()->self_scm (), | 273 SCM scm_mol = Text_interface::interpret_markup (me->layout ()->self_scm (), |
274 properties, | 274 properties, |
275 ly_string2scm (r)); | 275 ly_string2scm (r)); |
276 SCM when_mol = Text_interface::interpret_markup (me->layout ()->self_scm (), | 276 SCM when_mol = Text_interface::interpret_markup (me->layout ()->self_scm (), |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 "page-break-penalty " | 465 "page-break-penalty " |
466 "page-break-permission " | 466 "page-break-permission " |
467 "page-turn-penalty " | 467 "page-turn-penalty " |
468 "page-turn-permission " | 468 "page-turn-permission " |
469 "rhythmic-location " | 469 "rhythmic-location " |
470 "shortest-playing-duration " | 470 "shortest-playing-duration " |
471 "shortest-starter-duration " | 471 "shortest-starter-duration " |
472 "spacing " | 472 "spacing " |
473 "used " | 473 "used " |
474 "when "); | 474 "when "); |
LEFT | RIGHT |