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) 2005--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2005--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> |
5 | 5 |
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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 x = b[X_AXIS]; | 236 x = b[X_AXIS]; |
237 x[-dir] = b[X_AXIS].linear_combination (-dir / 2); | 237 x[-dir] = b[X_AXIS].linear_combination (-dir / 2); |
238 y[-updowndir] = b[Y_AXIS][updowndir]; | 238 y[-updowndir] = b[Y_AXIS][updowndir]; |
239 y[updowndir] = updowndir * infinity_f; | 239 y[updowndir] = updowndir * infinity_f; |
240 } | 240 } |
241 | 241 |
242 if (!x.is_empty ()) | 242 if (!x.is_empty ()) |
243 boxes.push_back (Box (x, y)); | 243 boxes.push_back (Box (x, y)); |
244 } | 244 } |
245 | 245 |
246 /* todo: the horizon_padding is somewhat arbitrary */ | 246 chord_outlines_[key] = Skyline (boxes, Y_AXIS, -dir).padded (details_.skyline_
padding_); |
247 chord_outlines_[key] = Skyline (boxes, details_.skyline_padding_, Y_AXIS, -dir
); | |
248 if (bounds[0]->break_status_dir ()) | 247 if (bounds[0]->break_status_dir ()) |
249 { | 248 { |
250 Interval iv (Axis_group_interface::staff_extent (bounds[0], x_refpoint_, X
_AXIS, y_refpoint_, Y_AXIS)); | 249 Interval iv (Axis_group_interface::staff_extent (bounds[0], x_refpoint_, X
_AXIS, y_refpoint_, Y_AXIS)); |
251 if (iv.is_empty ()) | 250 if (iv.is_empty ()) |
252 iv.add_point (bounds[0]->relative_coordinate (x_refpoint_, X_AXIS)); | 251 iv.add_point (bounds[0]->relative_coordinate (x_refpoint_, X_AXIS)); |
253 | 252 |
254 chord_outlines_[key].set_minimum_height (iv[-dir]); | 253 chord_outlines_[key].set_minimum_height (iv[-dir]); |
255 } | 254 } |
256 else | 255 else |
257 { | 256 { |
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1223 { | 1222 { |
1224 for (vsize i = 0; i < base.size (); i++) | 1223 for (vsize i = 0; i < base.size (); i++) |
1225 { | 1224 { |
1226 string card = base.complete_tie_card (i); | 1225 string card = base.complete_tie_card (i); |
1227 specifications_[i].tie_grob_->set_property ("annotation", | 1226 specifications_[i].tie_grob_->set_property ("annotation", |
1228 ly_string2scm (card)); | 1227 ly_string2scm (card)); |
1229 } | 1228 } |
1230 } | 1229 } |
1231 #endif | 1230 #endif |
1232 } | 1231 } |
LEFT | RIGHT |