+ {
+ int pos = 4 * get_grob_direction (me);
+
+ /*
+ make a semibreve rest hang from the next line,
+ except for a single line staff;
+ assume the next line being integer steps away
+ */
+ if (duration_log == 0 && line_count > 1)
+ ++pos;
+
+ /*
+ make sure rest is aligned to a staff line
+ */
+ while (!Staff_symbol_referencer::on_line (me, pos))
+ ++pos;
+
+ amount = ss * 0.5 * pos;
+ }