private void DrawBracket(StaffSystem system, Part part, ScoreRendererBase renderer) { if (system.LinePositions == null) { return; } var locationXAndWidth = GetBraceLocationXAndWidth(renderer); var location = new Point(locationXAndWidth.Item1, system.LinePositions[1][0]); var size = new Size(locationXAndWidth.Item2, system.LinePositions[part.Staves.Count][4] - system.LinePositions[1][0]); renderer.DrawCharacterInBounds(renderer.Settings.MusicFontProfile.MusicFont.BraceLeft, Model.Fonts.MusicFontStyles.MusicFont, location, size, renderer.Settings.DefaultColor, part.Staves.First()); }