add_molecule (toadd);
}
-LY_DEFINE(ly_set_molecule_extent_x,"ly-set-molecule-extent!", 3 , 0, 0,
+LY_DEFINE(ly_set_molecule_extent_x,"ly:set-molecule-extent!", 3 , 0, 0,
(SCM mol, SCM axis, SCM np),
"Set the extent (@var{extent} must be a pair of numbers) of @var{mol} in
@var{axis} direction (0 or 1 for x- and y-axis respectively).
}
LY_DEFINE(ly_get_molecule_extent,
- "ly-get-molecule-extent", 2 , 0, 0, (SCM mol, SCM axis),
+ "ly:get-molecule-extent", 2 , 0, 0, (SCM mol, SCM axis),
"Return a pair of numbers signifying the extent of @var{mol} in
@var{axis} direction (0 or 1 for x and y axis respectively).
")
LY_DEFINE(ly_molecule_combined_at_edge,
- "ly-combine-molecule-at-edge",
+ "ly:combine-molecule-at-edge",
5 , 0, 0, (SCM first, SCM axis, SCM direction,
SCM second, SCM padding),
"Construct a molecule by putting @var{second} next to
FIXME: support variable number of arguments "
*/
LY_DEFINE(ly_add_molecule ,
- "ly-add-molecule", 2, 0,0,(SCM first, SCM second),
+ "ly:add-molecule", 2, 0,0,(SCM first, SCM second),
"Combine two molecules."
)
{
}
LY_DEFINE(ly_make_molecule,
- "ly-make-molecule", 3, 0, 0, (SCM expr, SCM xext, SCM yext),
+ "ly:make-molecule", 3, 0, 0, (SCM expr, SCM xext, SCM yext),
"
The objective of any typesetting system is to put ink on paper in the
right places. For LilyPond, this final stage is left to the @TeX{} and
ly_quote_scm (met->description_), f, SCM_UNDEFINED);
}
-LY_DEFINE(ly_fontify_atom,"ly-fontify-atom", 2, 0, 0,
+LY_DEFINE(ly_fontify_atom,"ly:fontify-atom", 2, 0, 0,
(SCM met, SCM f),
"Add a font selection command for the font metric @var{met} to @var{f}.")
{
return fontify_atom (unsmob_metrics (met), f);
}
-LY_DEFINE(ly_align_to_x,"ly-align-to!", 3, 0, 0, (SCM mol, SCM axis, SCM dir),
+LY_DEFINE(ly_align_to_x,"ly:align-to!", 3, 0, 0, (SCM mol, SCM axis, SCM dir),
"Align @var{mol} using its own extents.")
{
SCM_ASSERT_TYPE(unsmob_molecule (mol), mol, SCM_ARG1, __FUNCTION__, "molecule");
return r->expr_;
}
-IMPLEMENT_TYPE_P (Molecule, "molecule?");
+IMPLEMENT_TYPE_P (Molecule, "ly:molecule?");
IMPLEMENT_DEFAULT_EQUAL_P (Molecule);