2 directional-element-interface.cc -- implement Directional_element
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #include "directional-element-interface.hh"
13 get_grob_direction (Grob *me)
15 SCM d = me->get_property ("direction");
16 if (d == ly_symbol2scm ("calculation-in-progress"))
18 programming_error ("Grob direction requested while calculation in progress. ");
21 if (!is_direction (d))
28 set_grob_direction (Grob *me, Direction d)
30 SCM sd = scm_from_int (d);
31 me->set_property ("direction", sd);