*/
Symbol streepjes(int pos)const;
+ Symbol vbrace(Real &dy) const;
Symbol meter(Array<Scalar>)const;
Symbol stem(Real y1_pos, Real y2_pos)const;
Symbol rule_symbol(Real height, Real width)const;
#include "colhpos.hh"
#include "varray.hh"
+#include "lily-proto.hh"
#include "p-col.hh"
#include "p-staff.hh"
/// broken spanners
Pointer_list<Spanner*> broken_spans;
+ Pointer_list<Vertical_spanner*> vspan_p_list_;
/* *************** */
/* CONSTRUCTION */
--- /dev/null
+/*
+ vertical-brace.hh -- declare
+
+ source file of the LilyPond music typesetter
+
+ (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+
+#ifndef VERTICAL_BRACE_HH
+#define VERTICAL_BRACE_HH
+
+#include "vertical-spanner.hh"
+
+class Vertical_brace : public Vertical_spanner {
+public:
+
+};
+
+#endif // VERTICAL_BRACE_HH
set_default_dir();
Real inter_f = paper()->internote();
if (encompass_arr_[0]->stem_l_)
- left_pos_i_ = encompass_arr_[0]->stem_l_->height()[dir_i_]/inter_f;
+ left_pos_i_ = rint(encompass_arr_[0]->stem_l_->height()[dir_i_]/inter_f);
else
left_pos_i_ = 0;
if (encompass_arr_.top()->stem_l_)
- right_pos_i_ = encompass_arr_.top()->stem_l_->height()[dir_i_]/inter_f;
+ right_pos_i_ = rint(encompass_arr_.top()->stem_l_->height()[dir_i_]/inter_f);
else
right_pos_i_ = 0;
#include "spanner.hh"
#include "scoreline.hh"
#include "staffline.hh"
+#include "vertical-spanner.hh"
#include "pcursor.tcc"
#include "plist.tcc"
IPLC_instantiate(Line_of_staff);
IPLC_instantiate(Item);
IPLC_instantiate(Spanner);
+IPLC_instantiate(Vertical_spanner);
IPLC_instantiate(PStaff);
IPLC_instantiate(Idealspacing);
IPLC_instantiate(PCol);
--- /dev/null
+/*
+ vertical-brace.cc -- implement
+
+ source file of the LilyPond music typesetter
+
+ (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
+*/
+
+#include "vertical-brace.hh"