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)
{
canvas.Color = h.Voice.Index == 0
? Resources.MainGlyphColor
: Resources.SecondaryGlyphColor;
// check if we need to paint simple footer
if (h.Beats.Count == 1)
{
PaintFooter(cx, cy, canvas, h);
}
else
{
PaintBar(cx, cy, canvas, h);
}
}