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

Issue 35310043: slurs avoid stafflines: move far enough; issue 3628

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 5 months ago by Keith
Modified:
10 years, 4 months ago
Reviewers:
janek
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

slurs avoid stafflines: move far enough; issue 3628 Suggestion from Janek WarchoĊ‚ to account for the fact that the curve of a slur moves less than its control points, and to consider flattening as well as increasing the curve.

Patch Set 1 #

Total comments: 2

Patch Set 2 : account for line-width #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -12 lines) Patch
M lily/include/slur-score-parameters.hh View 1 chunk +2 lines, -0 lines 0 comments Download
M lily/include/slur-scoring.hh View 1 1 chunk +1 line, -0 lines 0 comments Download
M lily/slur.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M lily/slur-configuration.cc View 1 1 chunk +24 lines, -10 lines 2 comments Download
M lily/slur-score-parameters.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M lily/slur-scoring.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M scm/layout-slur.scm View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 5
janek
Hi, i'm very busy with other LilyPond stuff, but would like to give this patch ...
10 years, 5 months ago (2013-12-06 22:31:01 UTC) #1
janek
There's one nitpick, other than that it can go. There are some things i would ...
10 years, 4 months ago (2013-12-07 17:04:00 UTC) #2
Keith
https://codereview.appspot.com/35310043/diff/1/lily/slur-configuration.cc File lily/slur-configuration.cc (right): https://codereview.appspot.com/35310043/diff/1/lily/slur-configuration.cc#newcode64 lily/slur-configuration.cc:64: : state.parameters_.gap_to_staffline_outside_); On 2013/12/07 17:04:00, janek wrote: > You ...
10 years, 4 months ago (2013-12-07 19:49:42 UTC) #3
janek
One last question and it can bee pushed (as far as i'm concerned). Janek https://codereview.appspot.com/35310043/diff/80001/lily/slur-configuration.cc ...
10 years, 4 months ago (2013-12-08 10:10:11 UTC) #4
Keith
10 years, 4 months ago (2013-12-10 17:26:07 UTC) #5
https://codereview.appspot.com/35310043/diff/80001/lily/slur-configuration.cc
File lily/slur-configuration.cc (right):

https://codereview.appspot.com/35310043/diff/80001/lily/slur-configuration.cc...
lily/slur-configuration.cc:66: + state.line_thickness_
On 2013/12/08 10:10:11, janek wrote:
> The comment says "half of the staffline" but here it's not halved - is this
ok?

It says "half for the staff line, half for the slur outline" each of those
halves being half a line-thickness.  Two halves add to one, so there is a full
thine-thickness added in the code.
Sign in to reply to this message.

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