]> git.donarmstrong.com Git - lilypond.git/blob - lily/break-algorithm.cc
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / lily / break-algorithm.cc
1 /*
2   break.cc -- implement Break_algorithm
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1996--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #include "break-algorithm.hh"
10 #include "paper-column.hh"
11 #include "output-def.hh"
12 #include "system.hh"
13 #include "paper-score.hh"
14 #include "paper-column.hh"
15 #include "cpu-timer.hh"
16 #include "simple-spacer.hh"
17
18 Break_algorithm::Break_algorithm ()
19 {
20   pscore_ = 0;
21   linewidth_ = 0;
22 }
23
24 void
25 Break_algorithm::set_pscore (Paper_score *s)
26 {
27   pscore_ = s;
28   linewidth_ = s->layout ()->get_dimension (ly_symbol2scm ("line-width"));
29 }
30
31 vector<Column_x_positions>
32 Break_algorithm::solve () 
33 {
34   vector<Column_x_positions> h;
35   return h;
36 }
37
38 Break_algorithm::~Break_algorithm ()
39 {
40 }