Beispiel #1
0
        public async Task DrawBeatModifier(BeatModifier modifier, VoicePart voicePart, double x)
        {
            x += this.Location.X;
            var y      = this.Owner.GetHeight(voicePart, x);
            var bounds = await this.PrimitiveRenderer.DrawBeatModifier(x, y, modifier, voicePart.ToDirection());

            this.EnsureHeightForOrnament(voicePart, bounds);
        }
Beispiel #2
0
 public Task <Rect> DrawBeatModifier(double x, double y, BeatModifier modifer, VerticalDirection direction)
 => this.InvokeRenderMethodReturnBoundingBox("drawBeatModifier", x, y, modifer, direction);