private void DrawRepeatSignSMuFL(ScoreRendererBase renderer, Barline element, double?measureWidth, FontProfile fontProfile) { var bounds = element.GetSMuFLBoundingBoxPx(fontProfile.SMuFLMetadata, renderer.Settings); var shiftX = element.RepeatSign == RepeatSignType.Forward ? bounds.BBoxSw[0] : bounds.BBoxNe[0]; renderer.DrawCharacterInBounds( element.GetCharacter(fontProfile.MusicFont), MusicFontStyles.MusicFont, new Point(scoreService.CursorPositionX - shiftX, scoreService.CurrentLinePositions[0]), new Size(bounds.BBoxNe[0] - bounds.BBoxSw[0], bounds.BBoxNe[1] - bounds.BBoxSw[1]), element); }