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

Side by Side Diff: lily/include/side-position-interface.hh

Issue 6827072: Uses single algorithm for side-position spacing. (Closed) Base URL: http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Patch Set: Uses cross-staff note columns for pure height estimations Created 12 years, 3 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:
View unified diff | Download patch
OLDNEW
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) 1999--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> 4 Copyright (C) 1999--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
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 24 matching lines...) Expand all
35 DECLARE_SCHEME_CALLBACK (y_aligned_on_support_refpoints, (SCM element)); 35 DECLARE_SCHEME_CALLBACK (y_aligned_on_support_refpoints, (SCM element));
36 DECLARE_SCHEME_CALLBACK (pure_y_aligned_on_support_refpoints, (SCM element, SC M start, SCM end)); 36 DECLARE_SCHEME_CALLBACK (pure_y_aligned_on_support_refpoints, (SCM element, SC M start, SCM end));
37 DECLARE_SCHEME_CALLBACK (x_aligned_side, (SCM element, SCM current)); 37 DECLARE_SCHEME_CALLBACK (x_aligned_side, (SCM element, SCM current));
38 DECLARE_SCHEME_CALLBACK (y_aligned_side, (SCM element, SCM current)); 38 DECLARE_SCHEME_CALLBACK (y_aligned_side, (SCM element, SCM current));
39 DECLARE_SCHEME_CALLBACK (pure_y_aligned_side, (SCM element, SCM start, SCM end , SCM current)); 39 DECLARE_SCHEME_CALLBACK (pure_y_aligned_side, (SCM element, SCM start, SCM end , SCM current));
40 DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM element)); 40 DECLARE_SCHEME_CALLBACK (calc_cross_staff, (SCM element));
41 DECLARE_SCHEME_CALLBACK (move_to_extremal_staff, (SCM)); 41 DECLARE_SCHEME_CALLBACK (move_to_extremal_staff, (SCM));
42 42
43 static SCM aligned_side (Grob *me, Axis a, bool pure, int start, int end, Real *current_off_ptr); 43 static SCM aligned_side (Grob *me, Axis a, bool pure, int start, int end, Real *current_off_ptr);
44 44
45 static SCM general_side_position (Grob *, Axis, bool, bool my_extents,
46 bool pure, int start, int end, Real *current _off);
47 static SCM skyline_side_position (Grob *me, Axis a, bool pure, int start, int end, Real *current_offset);
48
49 static Axis get_axis (Grob *); 45 static Axis get_axis (Grob *);
50 static void set_axis (Grob *, Axis); 46 static void set_axis (Grob *, Axis);
51 DECLARE_GROB_INTERFACE (); 47 DECLARE_GROB_INTERFACE ();
52 static void add_support (Grob *, Grob *); 48 static void add_support (Grob *, Grob *);
49 static void recursive_add_support (Grob *, Grob *);
53 static void add_staff_support (Grob *); 50 static void add_staff_support (Grob *);
54 }; 51 };
55 52
56 #endif /* SIDE_POSITION_INTERFACE_HH */ 53 #endif /* SIDE_POSITION_INTERFACE_HH */
57 54
OLDNEW

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