C# Класс AlphaTab.Rendering.ScoreBarRenderer

This BarRenderer renders a bar using standard music notation.
Наследование: BarRendererBase
Показать файл Открыть проект

Открытые методы

Метод Описание
DoLayout ( ) : void
GetBeatDirection ( Beat beat ) : BeamDirection
GetNoteLine ( Note n ) : int
GetNoteX ( Note note, bool onEnd = true ) : float
GetNoteY ( Note note ) : float
GetScoreY ( int steps, float correction ) : float

Gets the relative y position of the given steps relative to first line.

Paint ( float cx, float cy, ICanvas canvas ) : void
ScoreBarRenderer ( Bar bar ) : System

Защищенные методы

Метод Описание
CreateBeatGlyphs ( ) : void
CreatePostBeatGlyphs ( ) : void
CreatePreBeatGlyphs ( ) : void
PaintBackground ( float cx, float cy, ICanvas canvas ) : void

Приватные методы

Метод Описание
CalculateBeamY ( BeamingHelper h, float x ) : float
CreateKeySignatureGlyphs ( ) : void
CreateStartSpacing ( ) : void
CreateTimeSignatureGlyphs ( ) : void
CreateVoiceGlyphs ( Voice v ) : void
FingerToString ( Beat beat, Fingers finger, bool leftHand ) : string
GetBarStemSize ( System.Duration duration ) : float
GetFooterStemSize ( System.Duration duration ) : float
GetStemSize ( BeamingHelper helper ) : float
IsFullBarJoin ( Beat a, Beat b, int barIndex ) : bool
PaintBar ( float cx, float cy, ICanvas canvas, BeamingHelper h ) : void
PaintBeamHelper ( float cx, float cy, ICanvas canvas, BeamingHelper h ) : void
PaintBeams ( float cx, float cy, ICanvas canvas ) : void
PaintFingering ( ICanvas canvas, Beat beat, float beatLineX, BeamDirection direction, float topY ) : void
PaintFooter ( float cx, float cy, ICanvas canvas, BeamingHelper h ) : void
PaintSingleBar ( ICanvas canvas, float x1, float y1, float x2, float y2, float size ) : void
PaintTupletHelper ( float cx, float cy, ICanvas canvas, AlphaTab.Rendering.Utils.TupletHelper h ) : void
PaintTuplets ( float cx, float cy, ICanvas canvas ) : void

Описание методов

CreateBeatGlyphs() защищенный Метод

protected CreateBeatGlyphs ( ) : void
Результат void

CreatePostBeatGlyphs() защищенный Метод

protected CreatePostBeatGlyphs ( ) : void
Результат void

CreatePreBeatGlyphs() защищенный Метод

protected CreatePreBeatGlyphs ( ) : void
Результат void

DoLayout() публичный Метод

public DoLayout ( ) : void
Результат void

GetBeatDirection() публичный Метод

public GetBeatDirection ( Beat beat ) : BeamDirection
beat AlphaTab.Model.Beat
Результат BeamDirection

GetNoteLine() публичный Метод

public GetNoteLine ( Note n ) : int
n AlphaTab.Model.Note
Результат int

GetNoteX() публичный Метод

public GetNoteX ( Note note, bool onEnd = true ) : float
note AlphaTab.Model.Note
onEnd bool
Результат float

GetNoteY() публичный Метод

public GetNoteY ( Note note ) : float
note AlphaTab.Model.Note
Результат float

GetScoreY() публичный Метод

Gets the relative y position of the given steps relative to first line.
public GetScoreY ( int steps, float correction ) : float
steps int the amount of steps while 2 steps are one line
correction float
Результат float

Paint() публичный Метод

public Paint ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
Результат void

PaintBackground() защищенный Метод

protected PaintBackground ( float cx, float cy, ICanvas canvas ) : void
cx float
cy float
canvas ICanvas
Результат void

ScoreBarRenderer() публичный Метод

public ScoreBarRenderer ( Bar bar ) : System
bar AlphaTab.Model.Bar
Результат System