LEFT | RIGHT |
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) 2002--2020 Juergen Reuter <reuter@ipd.uka.de>, | 4 Copyright (C) 2002--2020 Juergen Reuter <reuter@ipd.uka.de>, |
5 Pal Benko <benkop@freestart.hu> | 5 Pal Benko <benkop@freestart.hu> |
6 | 6 |
7 LilyPond is free software: you can redistribute it and/or modify | 7 LilyPond is free software: you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation, either version 3 of the License, or | 9 the Free Software Foundation, either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 ? staff_space : (on_line ? -2.0 : -1.0) * staff_sp
ace; | 453 ? staff_space : (on_line ? -2.0 : -1.0) * staff_sp
ace; |
454 else if (on_line) | 454 else if (on_line) |
455 { | 455 { |
456 if (0 < delta && delta < 3) | 456 if (0 < delta && delta < 3) |
457 vert_shift -= staff_space; | 457 vert_shift -= staff_space; |
458 } | 458 } |
459 else if (delta == 1 || delta == -1) | 459 else if (delta == 1 || delta == -1) |
460 vert_shift -= delta * staff_space; | 460 vert_shift -= delta * staff_space; |
461 } | 461 } |
462 else | 462 else |
463 min_length += head_width * Real (dot_count); | 463 min_length += head_width * static_cast<Real> (dot_count); |
464 | 464 |
465 dot_gr->translate_axis (vert_shift, Y_AXIS); | 465 dot_gr->translate_axis (vert_shift, Y_AXIS); |
466 | 466 |
467 /* | 467 /* |
468 move all dots behind head | 468 move all dots behind head |
469 */ | 469 */ |
470 dot_gr->translate_axis | 470 dot_gr->translate_axis |
471 ((flexa_begin ? staff_space * 0.6 : head_width) - 2.0 * thickness, X_A
XIS); | 471 ((flexa_begin ? staff_space * 0.6 : head_width) - 2.0 * thickness, X_A
XIS); |
472 } | 472 } |
473 } | 473 } |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
508 | 508 |
509 /* create */ | 509 /* create */ |
510 "MensuralLigature ", | 510 "MensuralLigature ", |
511 | 511 |
512 /* read */ | 512 /* read */ |
513 "", | 513 "", |
514 | 514 |
515 /* write */ | 515 /* write */ |
516 "" | 516 "" |
517 ); | 517 ); |
LEFT | RIGHT |