OLD | NEW |
1 /* | 1 /* |
2 tie-formatting-problem.cc -- implement Tie_formatting_problem | 2 tie-formatting-problem.cc -- implement Tie_formatting_problem |
3 | 3 |
4 source file of the GNU LilyPond music typesetter | 4 source file of the GNU LilyPond music typesetter |
5 | 5 |
6 (c) 2005--2009 Han-Wen Nienhuys <hanwen@xs4all.nl> | 6 (c) 2005--2009 Han-Wen Nienhuys <hanwen@xs4all.nl> |
7 | 7 |
8 */ | 8 */ |
9 | 9 |
10 #include <cstdio> | 10 #include <cstdio> |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 { | 189 { |
190 /* | 190 /* |
191 other untied notes in the same chord. | 191 other untied notes in the same chord. |
192 */ | 192 */ |
193 ·········· | 193 ·········· |
194 Interval y = Staff_symbol_referencer::extent_in_staff (heads[i]); | 194 Interval y = Staff_symbol_referencer::extent_in_staff (heads[i]); |
195 Interval x = heads[i]->extent (x_refpoint_, X_AXIS); | 195 Interval x = heads[i]->extent (x_refpoint_, X_AXIS); |
196 boxes.push_back (Box (x, y)); | 196 boxes.push_back (Box (x, y)); |
197 } | 197 } |
198 ·········· | 198 ·········· |
199 » Grob *acc = unsmob_grob (heads[i]->get_object ("accidental-grob")); | 199 » Grob *acc = unsmob_grob (heads[i]->get_property ("accidental-grob")); |
200 if (acc) | 200 if (acc) |
201 acc->get_property ("stencil"); /* trigger tie-related suicide */ | 201 acc->get_property ("stencil"); /* trigger tie-related suicide */ |
202 | 202 |
203 if (acc && acc->is_live () && dir == RIGHT) | 203 if (acc && acc->is_live () && dir == RIGHT) |
204 { | 204 { |
205 boxes.push_back (Box (acc->extent (x_refpoint_, X_AXIS), | 205 boxes.push_back (Box (acc->extent (x_refpoint_, X_AXIS), |
206 Staff_symbol_referencer::extent_in_staff (ac
c))); | 206 Staff_symbol_referencer::extent_in_staff (ac
c))); |
207 } | 207 } |
208 | 208 |
209 head_positions_[column_rank].add_point (int (Staff_symbol_referencer::
get_position (heads[i]))); | 209 head_positions_[column_rank].add_point (int (Staff_symbol_referencer::
get_position (heads[i]))); |
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1229 { | 1229 { |
1230 for (vsize i = 0; i < base.size (); i++) | 1230 for (vsize i = 0; i < base.size (); i++) |
1231 { | 1231 { |
1232 string card = base.complete_tie_card (i); | 1232 string card = base.complete_tie_card (i); |
1233 specifications_[i].tie_grob_->set_property ("quant-score", | 1233 specifications_[i].tie_grob_->set_property ("quant-score", |
1234 ly_string2scm (card)); | 1234 ly_string2scm (card)); |
1235 } | 1235 } |
1236 } | 1236 } |
1237 #endif | 1237 #endif |
1238 }······ | 1238 }······ |
OLD | NEW |