CalculateBeamY() public method

public CalculateBeamY ( float stemSize, float xCorrection, float xPosition, float scale, float>.Func yPosition ) : float
stemSize float
xCorrection float
xPosition float
scale float
yPosition float>.Func
return float
Example #1
0
 private float CalculateBeamY(BeamingHelper h, float x)
 {
     var stemSize = GetStemSize(h);
     return h.CalculateBeamY(stemSize, Scale, x, Scale, n => GetScoreY(GetNoteLine(n)));
 }
Example #2
0
 private float CalculateBeamY(BeamingHelper h, float x)
 {
     var correction = NoteHeadGlyph.NoteHeadHeight / 2;
     var stemSize = GetStemSize(h.MaxDuration);
     return h.CalculateBeamY(stemSize, Scale, x, Scale, n => GetScoreY(GetNoteLine(n), correction - 1));
 }