Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(131)

Delta Between Two Patch Sets: lily/include/system.hh

Issue 5626052: Gets vertical skylines from grob stencils (Closed)
Left Patch Set: Fixes polygon stencil Created 13 years, 1 month ago
Right Patch Set: Run astyle on c++ files Created 12 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
LEFTRIGHT
(no file at all)
1 /* 1 /*
2 This file is part of LilyPond, the GNU music typesetter. 2 This file is part of LilyPond, the GNU music typesetter.
3 3
4 Copyright (C) 1996--2012 Han-Wen Nienhuys 4 Copyright (C) 1996--2012 Han-Wen Nienhuys
5 5
6 LilyPond is free software: you can redistribute it and/or modify 6 LilyPond is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or 8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
(...skipping 21 matching lines...) Expand all
32 class System : public Spanner 32 class System : public Spanner
33 { 33 {
34 int rank_; 34 int rank_;
35 Grob_array *all_elements_; 35 Grob_array *all_elements_;
36 void init_elements (); 36 void init_elements ();
37 friend class Paper_score; // ugh. 37 friend class Paper_score; // ugh.
38 Paper_score *pscore_; // ugh. 38 Paper_score *pscore_; // ugh.
39 39
40 public: 40 public:
41 Paper_score *paper_score () const; 41 Paper_score *paper_score () const;
42 Grob *get_vertical_alignment ();
43 Grob *get_extremal_staff (Direction dir, Interval const &); 42 Grob *get_extremal_staff (Direction dir, Interval const &);
44 Grob *get_neighboring_staff (Direction dir, Grob *vertical_axis_group, Interva l_t<int> bounds); 43 Grob *get_neighboring_staff (Direction dir, Grob *vertical_axis_group, Interva l_t<int> bounds);
45 Grob *get_pure_bound (Direction dir, int start, int end); 44 Grob *get_pure_bound (Direction dir, int start, int end);
46 Grob *get_maybe_pure_bound (Direction dir, bool pure, int start, int end); 45 Grob *get_maybe_pure_bound (Direction dir, bool pure, int start, int end);
47 int get_rank () const; 46 int get_rank () const;
48 vector<Real> get_footnote_heights_in_range (vsize st, vsize end); 47 vector<Real> get_footnote_heights_in_range (vsize st, vsize end);
49 vector<Real> get_in_note_heights_in_range (vsize st, vsize end); 48 vector<Real> get_in_note_heights_in_range (vsize st, vsize end);
50 vector<Real> internal_get_note_heights_in_range (vsize st, vsize end, bool foo t); 49 vector<Real> internal_get_note_heights_in_range (vsize st, vsize end, bool foo t);
51 vector<Grob *> get_footnote_grobs_in_range (vsize st, vsize end); 50 vector<Grob *> get_footnote_grobs_in_range (vsize st, vsize end);
52 vsize num_footnotes (); 51 vsize num_footnotes ();
53 void do_break_substitution_and_fixup_refpoints (); 52 void do_break_substitution_and_fixup_refpoints ();
54 void post_processing (); 53 void post_processing ();
55 SCM get_paper_system (); 54 SCM get_paper_system ();
56 SCM get_paper_systems (); 55 SCM get_paper_systems ();
57 SCM get_broken_system_grobs (); 56 SCM get_broken_system_grobs ();
58 SCM get_broken_footnote_stencils (); 57 SCM get_broken_footnote_stencils ();
59 58
60 DECLARE_SCHEME_CALLBACK (footnotes_before_line_breaking, (SCM)); 59 DECLARE_SCHEME_CALLBACK (footnotes_before_line_breaking, (SCM));
61 DECLARE_SCHEME_CALLBACK (footnotes_after_line_breaking, (SCM)); 60 DECLARE_SCHEME_CALLBACK (footnotes_after_line_breaking, (SCM));
61 DECLARE_SCHEME_CALLBACK (vertical_skyline_elements, (SCM));
62 DECLARE_SCHEME_CALLBACK (calc_pure_relevant_grobs, (SCM)); 62 DECLARE_SCHEME_CALLBACK (calc_pure_relevant_grobs, (SCM));
63 DECLARE_SCHEME_CALLBACK (height, (SCM)); 63 DECLARE_SCHEME_CALLBACK (height, (SCM));
64 DECLARE_SCHEME_CALLBACK (calc_pure_height, (SCM, SCM, SCM)); 64 DECLARE_SCHEME_CALLBACK (calc_pure_height, (SCM, SCM, SCM));
65 DECLARE_SCHEME_CALLBACK (get_staves, (SCM)); 65 DECLARE_SCHEME_CALLBACK (get_staves, (SCM));
66 DECLARE_SCHEME_CALLBACK (get_spaceable_staves, (SCM)); 66 DECLARE_SCHEME_CALLBACK (get_spaceable_staves, (SCM));
67 DECLARE_SCHEME_CALLBACK (get_nonspaceable_staves, (SCM)); 67 DECLARE_SCHEME_CALLBACK (get_nonspaceable_staves, (SCM));
68 DECLARE_SCHEME_CALLBACK (get_vertical_alignment, (SCM));
68 69
69 System (SCM); 70 System (SCM);
70 System (System const &); 71 System (System const &);
71 72
72 int element_count () const; 73 int element_count () const;
73 int spanner_count () const; 74 int spanner_count () const;
74 75
75 void break_into_pieces (vector<Column_x_positions> const &); 76 void break_into_pieces (vector<Column_x_positions> const &);
76 DECLARE_GROB_INTERFACE (); 77 DECLARE_GROB_INTERFACE ();
77 78
(...skipping 15 matching lines...) Expand all
93 virtual Grob *clone () const; 94 virtual Grob *clone () const;
94 95
95 private: 96 private:
96 Interval part_of_line_pure_height (vsize start, vsize end, bool begin); 97 Interval part_of_line_pure_height (vsize start, vsize end, bool begin);
97 }; 98 };
98 99
99 void set_loose_columns (System *which, Column_x_positions const *posns); 100 void set_loose_columns (System *which, Column_x_positions const *posns);
100 101
101 #endif /* SYSTEM_HH */ 102 #endif /* SYSTEM_HH */
102 103
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b