#include "warn.hh"
#include "axis-group-interface.hh"
#include "spaceable-grob.hh"
-#include "molecule.hh"
+#include "stencil.hh"
#include "text-item.hh"
#include "lookup.hh"
#include "font-interface.hh"
Print a vertical line and the rank number, to aid debugging.
*/
-MAKE_SCHEME_CALLBACK(Paper_column,brew_molecule,1);
+MAKE_SCHEME_CALLBACK(Paper_column,print,1);
SCM
-Paper_column::brew_molecule (SCM p)
+Paper_column::print (SCM p)
{
Grob *me = unsmob_grob (p);
SCM scm_mol = Text_item::interpret_markup (me->get_paper ()->self_scm (),
properties,
scm_makfrom0str (r.to_str0 ()));
- Molecule t = *unsmob_molecule (scm_mol);
+ Stencil t = *unsmob_stencil (scm_mol);
t.align_to (X_AXIS, CENTER);
t.align_to (Y_AXIS, DOWN);
- Molecule l = Lookup::filled_box (Box (Interval (-0.01, 0.01),
+ Stencil l = Lookup::filled_box (Box (Interval (-0.01, 0.01),
Interval (-2, -1)));
- t.add_molecule (l);
+ t.add_stencil (l);
return t.smobbed_copy ();
}