private PaintBeamHelper ( float cx, float cy, ICanvas canvas, |
||
cx | float | |
cy | float | |
canvas | ICanvas | |
h | ||
return | void |
private void PaintBeamHelper(float cx, float cy, ICanvas canvas, BeamingHelper h)
{
if (h.Beats[0].GraceType != GraceType.None) return;
var useBeams = Staff.GetSetting("use-beams", false);
// check if we need to paint simple footer
if (useBeams && h.Beats.Count == 1)
{
PaintFooter(cx, cy, canvas, h);
}
else
{
PaintBar(cx, cy, canvas, h);
}
}