2 directional-element-interface.cc -- implement Directional_element
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
9 #include "directional-element-interface.hh"
12 get_grob_direction (Grob *me)
14 SCM d = me->get_property ("direction");
15 if (!is_direction (d))
22 set_grob_direction (Grob *me, Direction d)
24 SCM sd = scm_int2num (d);
25 me->set_property ("direction", sd);