2003-09-30 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * ly/params-init.ly (blotdiameter): set blotdiameter to 2/3 of
+ stafflinethickness (in the default)
+
+ * lily/stem.cc (brew_molecule): use round_filled_box for stem.
+
* lily/lily-guile.cc (parse_symbol_list): strip spaces at the end.
* Documentation/topdocs/INSTALL.texi (Top): reorder.
}
SCM ifs = me->get_grob_property ("interfaces");
-
bool found = false;
for (; !found && gh_pair_p (ifs); ifs =gh_cdr (ifs))
{
void
-ly_init_ly_module (void *data)
+ly_init_ly_module (void *)
{
for (int i=scm_init_funcs_->size () ; i--;)
(scm_init_funcs_->elem (i)) ();
Real stem_width = gh_scm2double (me->get_grob_property ("thickness"))
// URG
* me->get_paper ()->get_realvar (ly_symbol2scm ("linethickness"));
-
- Molecule ss =Lookup::filledbox (Box (Interval (-stem_width/2, stem_width/2),
- Interval (stem_y[DOWN]*dy, stem_y[UP]*dy)));
+ Real blot =
+ me->get_paper ()->get_realvar (ly_symbol2scm ("blotdiameter"));
+ Box b = Box (Interval (-stem_width/2, stem_width/2),
+ Interval (stem_y[DOWN]*dy, stem_y[UP]*dy));
+
+ Molecule ss = Lookup::round_filled_box (b, blot);
mol.add_molecule (ss);
}
-% blotdiameter = 0.4 \pt
-blotdiameter = 0.04 \pt
+% 2/3 stafflinethickness in 20pt staffheight
+% this parameter is independent of the output size.
+blotdiameter = 0.33 \pt
interscoreline = 4. \mm